about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/screenshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/screenshot b/scripts/screenshot
index 97ea82e..0881970 100755
--- a/scripts/screenshot
+++ b/scripts/screenshot
@@ -54,7 +54,7 @@ case ${cmd%% *} in
 
     #for local screenshots
     1.Normal_fullscreen)            scrot -d 1 "$FILEMASK" && notify-send -u low -t ${TIME} "Screenshot saved"  ;;
-    2.Delayed_fullscreen)           notify-send -u low -t $rounded_num "Screenshot in $COUNTER seconds" && sleep $COUNTER && scrot -d 1 "$FILEMASK" && notify-send -u low -t ${TIME} "Screenshot saved"  ;;
+    2.Delayed_fullscreen)           notify-send -u low -t $rounded_num "Screenshot in $(($COUNTER / 1000)) seconds" && sleep $(($COUNTER / 1000)) && scrot -d 1 "$FILEMASK" && notify-send -u low -t ${TIME} "Screenshot saved"  ;;
     3.Section)                      scrot -s "$FILEMASK" && notify-send -u low -t ${TIME} "Screenshot saved"    ;;
 
     #for screencasts