diff options
| -rw-r--r-- | rofi/.config/rofi/run.rasi (renamed from rofi/.config/rofi/rofirun.rasi) | 1 | ||||
| -rwxr-xr-x | scripts/Scripts/run | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/rofi/.config/rofi/rofirun.rasi b/rofi/.config/rofi/run.rasi index 82cc124..0d19baa 100644 --- a/rofi/.config/rofi/rofirun.rasi +++ b/rofi/.config/rofi/run.rasi @@ -5,7 +5,6 @@ configuration { font: "Noto Sans Nerd Font 10"; show-icons: false; - display-run: ""; disable-history: false; kb-cancel: "Super+c"; } diff --git a/scripts/Scripts/run b/scripts/Scripts/run index 24858ac..283fa21 100755 --- a/scripts/Scripts/run +++ b/scripts/Scripts/run @@ -1,2 +1,5 @@ #!/usr/bin/env bash -rofi -show run -theme ~/.config/rofi/rofirun.rasi +cmd=$(echo "" | rofi -dmenu -theme ~/.config/rofi/run.rasi -p "") +if [ -n "$cmd" ]; then + coproc ( eval "$cmd" > /dev/null 2>&1 ) +fi |
