sway: use sway-launcher-desktop as primary launcher

This commit is contained in:
Cedric Girard 2019-11-27 12:26:12 +01:00
parent 6eec7b35b6
commit a627ec38c3

View file

@ -18,8 +18,9 @@ set $term termite
# Your preferred application launcher # Your preferred application launcher
# Note: it's recommended that you pass the final command to sway # Note: it's recommended that you pass the final command to sway
#set $menu dmenu_path | dmenu | xargs swaymsg exec -- #set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $menu termite --name=launcher -e ~/.config/sway/sway-launcher set $menu2 termite --name=launcher -e ~/.config/sway/sway-launcher
for_window [app_id="^launcher$"] floating enable, border none for_window [app_id="^launcher$"] floating enable, border none
set $menu exec termite --name=launcher -e 'env TERMINAL_COMMAND="termite -e" sway-launcher-desktop'
for_window [title="^Nightly - Sharing Indicator$"] floating enable, border none for_window [title="^Nightly - Sharing Indicator$"] floating enable, border none
@ -90,6 +91,7 @@ input * {
# Start your launcher # Start your launcher
bindsym $mod+p exec $menu bindsym $mod+p exec $menu
bindsym $mod+Shift+p exec $menu2
bindsym $mod+Shift+w exec "swaylock -f -c 000000" bindsym $mod+Shift+w exec "swaylock -f -c 000000"
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.