Fix that rofi doesn't execute commands

Using the default pattern for the run-shell-command option in
the rofi binding allows it to run applications and commands.
This commit is contained in:
Alexander Oakman 2024-08-20 00:11:26 +03:00
parent b4cef4847a
commit d6ac253fb2

View file

@ -21,7 +21,7 @@ set $term_float alacritty --class floating_shell -e
set $rofi_theme "* {lightbg: $base; background: $base; lightfg: $blue; foreground: $text; border-color: $blue;} window {border: 2;}"
# Your preferred application launcher
set $menu rofi -show combi -combi-modi "drun,run" -terminal $term -ssh-command "{terminal} {ssh-client} {host} [-p {port}]" -run-shell-command "{terminal} {cmd}" -show-icons -font "$gui-font"
set $menu rofi -show combi -combi-modi "drun,run" -terminal "$term" -ssh-command "{terminal} {ssh-client} {host} [-p {port}]" -show-icons -font "$gui-font"
# Add --to-code to bindsym, support for non-latin layouts
set $bindsym bindsym --to-code