From d4cf98254db237b778e940bd85a82e5459692f23 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Wed, 31 Jul 2019 22:48:25 +0200 Subject: Fixed screenshot script --- scripts/screenshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1