fix(sway): config - add 12-lanceur.conf to set sway-launcher-desktop correctly
This commit is contained in:
parent
9040aef331
commit
b4559a3ae9
@ -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
|
||||
#
|
||||
|
11
.config/sway/config.d/12-lanceur.conf
Normal file
11
.config/sway/config.d/12-lanceur.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user