From 51c9b070ed3dcddfec84943be08e1c2a03e8307f Mon Sep 17 00:00:00 2001 From: mono-b Date: Sat, 24 Dec 2022 08:48:23 -0300 Subject: sum changes --- screenshots.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'screenshots.sh') 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") -- cgit v1.2.1