diff options
Diffstat (limited to 'screenshots.sh')
-rwxr-xr-x | screenshots.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/screenshots.sh b/screenshots.sh index 00c31e4..73b64f6 100755 --- a/screenshots.sh +++ b/screenshots.sh @@ -1,6 +1,5 @@ #!/bin/sh - # Wal colors dmenu . "${HOME}/.cache/wal/colors.sh" @@ -16,7 +15,7 @@ case $main_menu_selection in "Fullscreen") display_selection=$(xrandr | grep " connected" | awk '{print $1}' | give_to_dmenu -l $number_of_displays -p Display:) screenshot_res=$(xrandr | grep "$display_selection" | grep -o '[[:digit:]]\+x[[:digit:]]\++[[:digit:]]\++[[:digit:]]\+') - screenshot_name=$(echo "" | give_to_dmenu -p Name:) + screenshot_name=$(: | give_to_dmenu -p Name:) maim -g $screenshot_res -d 1 ~/stf/ss/"$screenshot_name.png" && dunstify " Screenshot taken" || dunstify "ERROR: Screenshot not taken" ;; "Region") |