diff options
| author | bh <qn+git@excalibur.computer> | 2026-04-01 20:13:04 +0800 |
|---|---|---|
| committer | bh <qn+git@excalibur.computer> | 2026-04-01 20:13:04 +0800 |
| commit | 1e2823000e8b2f0168df020a03826de59c543db1 (patch) | |
| tree | 0f7c83ada16d047f664de6eb9fc4c10bb74197cc /scripts | |
| parent | 5f86c5fe029be32069f864e5c2521190dcb7732d (diff) | |
rofi: change run mode to dmenu mode
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 |
