summaryrefslogtreecommitdiff
path: root/screenshots.sh
diff options
context:
space:
mode:
authormono-b <monoblanco@DRAINERDOMAIN.localdomain>2022-12-24 08:48:23 -0300
committermono-b <monoblanco@DRAINERDOMAIN.localdomain>2022-12-24 08:48:23 -0300
commit51c9b070ed3dcddfec84943be08e1c2a03e8307f (patch)
tree0b3c97a9ea41b012db2a252fcfde7808b0353ac4 /screenshots.sh
parentabd2b4e8990c054013057401cb67a985066cb41c (diff)
sum changesHEADmaster
Diffstat (limited to 'screenshots.sh')
-rwxr-xr-xscreenshots.sh3
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")