diff --git a/.local/bin/take-screenshot b/.local/bin/take-screenshot index f2cf7c2..32f4eaf 100755 --- a/.local/bin/take-screenshot +++ b/.local/bin/take-screenshot @@ -30,7 +30,7 @@ recording_filename() { echo ~/Pictures/screenshots/recording-"$(ts)".mp4 } -if [ -z "$1" ]; then +if [ -z "${1+exists}" ]; then option=$(listopts | fuzzel --dmenu) else option="$1"