sway/config: Use sway-launcher-desktop instead of wofi

Text UI is cool! And wofi has some bugs sometimes.
This commit is contained in:
Alan Orth 2021-04-17 18:20:54 +03:00
parent 8ffec792aa
commit 0b612909ff
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,7 @@ set $term foot
# 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.
set $menu wofi --show drun -i | xargs swaymsg exec --
set $menu exec alacritty --class=launcher -e /usr/bin/sway-launcher-desktop
### Display
@ -38,6 +38,9 @@ for_window [app_id="firefox" title="About Firefox"] floating enable
# https://www.reddit.com/r/swaywm/comments/kee35j/permanently_floating_windows/
for_window [title=".+[Ss]haring (Indicator|your screen)"] floating enable, move to scratchpad
# for sway-launcher-desktop
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 ppt 60 ppt, border pixel 10
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)