@@ 20,6 20,7 @@ init_config () {
solid_color=333333
description=""
quiet=false
+ runsuspend=false
i3lockcolor_bin="i3lock-color"
if ! cmd_exists "$i3lockcolor_bin" && cmd_exists "i3lock"; then
@@ 273,7 274,11 @@ postlock() {
dunstctl set-paused false
fi
- sleep 5 && [[ 4000 -lt $(xssstate -i) ]] && pgrep -x i3lock && xset dpms force off
+
+ if [[ "$runsuspend" != true ]]; then
+ sleep 5 && [[ 4000 -lt $(xssstate -i) ]] && pgrep -x i3lock && xset dpms force off
+ fi
+ #sleep 5 && [[ 4000 -lt $(xssstate -i) ]] && pgrep -x i3lock && xset dpms force off
}