From d6ac253fb200afb4a50711957bb7b9c836608b0f Mon Sep 17 00:00:00 2001 From: Alexander Oakman Date: Tue, 20 Aug 2024 00:11:26 +0300 Subject: [PATCH] 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. --- etc/sway/variables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/sway/variables b/etc/sway/variables index 5ddcf7b..4f31a77 100644 --- a/etc/sway/variables +++ b/etc/sway/variables @@ -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