Changed how application launcher is called.

It no longer pipes output to 'xargs swaymsg exec --' so tor browser
launches.
This commit is contained in:
Sheldon Lee 2022-06-05 18:18:43 +08:00
parent 00823f8b2b
commit f396cb08cb

View File

@ -43,8 +43,9 @@ set $term alacritty
# #
# This line is was the equivalent to the bemenu command in ~/.config/wm_scripts/menucmd # This line is was the equivalent to the bemenu command in ~/.config/wm_scripts/menucmd
#set $menucmd bemenu -l 10 --scrollbar always --fn '$font' --tb '$base02' --tf '$green' --fb '$base03' --ff '$base0' --nb '$base03' --nf '$base0' --sb '$base02' --sf 'cyan' --hb '$base02' --hf '$cyan' --scb '$base02' --scf '$cyan' #set $menucmd bemenu -l 10 --scrollbar always --fn '$font' --tb '$base02' --tf '$green' --fb '$base03' --ff '$base0' --nb '$base03' --nf '$base0' --sb '$base02' --sf 'cyan' --hb '$base02' --hf '$cyan' --scb '$base02' --scf '$cyan'
set $menucmd j4-dmenu-desktop --dmenu="~/.config/wm_scripts/menucmd" --no-exec # Default launch using swaymsg
set $menu dmenu_path | $menucmd | xargs swaymsg exec -- #set $menu $menucmd | xargs swaymsg exec --
set $menucmd j4-dmenu-desktop --dmenu="~/.config/wm_scripts/menucmd"
# Screenshot # Screenshot
set $screenshot "~/.config/wm_scripts/screenshot.sh" set $screenshot "~/.config/wm_scripts/screenshot.sh"
@ -116,7 +117,7 @@ exec swayidle -w \
bindsym $mod+w kill bindsym $mod+w kill
# Start your launcher # Start your launcher
bindsym $mod+space exec $menu bindsym $mod+space exec $menucmd
# Screenshot # Screenshot
bindsym $mod+q exec $screenshot bindsym $mod+q exec $screenshot