sway: use combined drun+run mode for rofi
This commit is contained in:
parent
b38cab6afc
commit
c5d0b5cbb1
1 changed files with 4 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue