fix(sway): config - add 12-lanceur.conf to set sway-launcher-desktop correctly

This commit is contained in:
Olivier DOSSMANN 2025-01-15 10:06:50 +01:00
parent 9040aef331
commit b4559a3ae9
2 changed files with 12 additions and 2 deletions

View File

@ -18,8 +18,7 @@ set $term alacritty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 ppt 60 ppt, border pixel 10
set $menu exec alacritty --class launcher -e /usr/bin/sway-launcher-desktop
set $menu wofi --show run | xargs swaymsg exec --
### Output configuration
#

View File

@ -0,0 +1,11 @@
# Configuration du lanceur d'application
# Apparence d'une fenêtre nommée Launcher
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 ppt 60 ppt, border pixel 10
# Choix d'un lanceur
set $menu exec alacritty --class launcher -T 'Programmes' -e env TERMINAL_COMMAND='swaymsg exec' /usr/bin/sway-launcher-desktop
# On change le raccourci clavier en conséquence
unbindsym $mod+d
bindsym $mod+d exec $menu