sway: use combined drun+run mode for rofi

This commit is contained in:
Aleksei Bavshin 2023-01-10 21:02:46 -08:00
commit c5d0b5cbb1
No known key found for this signature in database
GPG key ID: 4F071603387A382A

View file

@ -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.