From b6992ccdcb472671bc55d02f6da237238dbd2b06 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Tue, 15 Mar 2022 10:39:57 -0700 Subject: [PATCH] update rofi-run script --- rofi/scripts/rofi-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rofi/scripts/rofi-run.sh b/rofi/scripts/rofi-run.sh index a33ecef..ca1ec22 100755 --- a/rofi/scripts/rofi-run.sh +++ b/rofi/scripts/rofi-run.sh @@ -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