sway: Allow searching for $XDG_DATA_HOME/applications & $XDG_DATA_DIRS/applications for desktop files

This is required to be able to open applications installed via flatpak.
See wofi(7).
This commit is contained in:
Sanchayan Maity 2021-03-18 11:33:45 +05:30
parent ce71c5b1d3
commit bd88fba9cb
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ set $term kitty
# 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 dmenu_path | dmenu | xargs swaymsg exec --
set $menu wofi --show run
set $menu wofi --show run,drun
# Screenshots
set $screenshot grim ~/Pictures/screenshots/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png
set $screenclip slurp | grim -g - ~/Pictures/screenshots/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png