From bd88fba9cbd987c1bd0cbf0822c2022559e7171c Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 18 Mar 2021 11:33:45 +0530 Subject: [PATCH] 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). --- sway/.config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index bfc5914..c43896b 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -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