update rofi-run script

This commit is contained in:
ksyasuda 2022-03-15 10:39:57 -07:00
parent aa59a3830a
commit b6992ccdcb

View File

@ -36,7 +36,7 @@ if [[ "$cmd" == "sudo"* ]]; then
fi
fi
if [[ "$1" == "-v" || "$1" == "--verbose" ]]; then
if [[ "$#" -gt 0 ]] && [[ "$1" == "-v" || "$1" == "--verbose" ]]; then
# Send command to dunstify
dunstify "Running command: $cmd"
fi