From c5d0b5cbb186c67f46f0dc908ef8fa903d05e274 Mon Sep 17 00:00:00 2001 From: Aleksei Bavshin Date: Tue, 10 Jan 2023 21:02:46 -0800 Subject: [PATCH] sway: use combined drun+run mode for rofi --- sway/config.in | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sway/config.in b/sway/config.in index 7bf9b3f..081d536 100644 --- a/sway/config.in +++ b/sway/config.in @@ -24,12 +24,10 @@ set $rofi_cmd rofi \ -run-command 'swaymsg exec -- {cmd}' \ -run-shell-command 'swaymsg exec -- {terminal} -e {cmd}' \ -terminal '$term' -# Shows a list of the executables from PATH -set $menu $rofi_cmd -show run -# Shows a list of the applications with desktop files installed -set $app_menu $rofi_cmd -show drun -# Both of the above in a single list -# set $menu $rofi_cmd -show combi -combi-modes run#drun +# Shows a combined list of the applications with desktop files and +# executables from PATH. +# TODO: add window with the next release of rofi-wayland +set $menu $rofi_cmd -show combi -combi-modes drun#run -modes combi ### Output configuration # @@ -82,7 +80,6 @@ output * bg /usr/share/backgrounds/default.png fill # Start your launcher bindsym $mod+d exec $menu - bindsym $mod+Shift+d exec $app_menu # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod.