diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/Scripts/run | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
