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

This reverts commit 0b612909ff.

Can't launch some apps with sway-launcher-desktop, not sure why.
This commit is contained in:
Alan Orth 2021-04-18 19:02:44 +03:00
parent 0b612909ff
commit 7cced2e0f5
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -18,7 +18,7 @@ set $term foot
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # 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. # on the original workspace that the command was run on.
set $menu exec alacritty --class=launcher -e /usr/bin/sway-launcher-desktop set $menu wofi --show drun -i | xargs swaymsg exec --
### Display ### Display
@ -38,9 +38,6 @@ for_window [app_id="firefox" title="About Firefox"] floating enable
# https://www.reddit.com/r/swaywm/comments/kee35j/permanently_floating_windows/ # 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_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 ### Output configuration
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)