From e51bb453f62c92a08add8e05bb4cd439ed828140 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 4 Aug 2021 11:44:21 +0200 Subject: [PATCH] xss-lock: remove unused function --- bin/xss-lock | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/xss-lock b/bin/xss-lock index 17c401c..36fb2f8 100755 --- a/bin/xss-lock +++ b/bin/xss-lock @@ -8,10 +8,6 @@ configure() { xset s $((timeout - notify)) $notify xset dpms $((timeout * 2)) $((timeout * 22 / 10)) $((timeout * 24 / 10)) } -unconfigure() { - xset s 0 - xset dpms 0 0 0 -} dimmer() { systemctl --user $1 dimmer@$notify.service } @@ -40,6 +36,7 @@ case "$1" in # Then, lock screen i3lock -n -e -i $HOME/.cache/i3/current-wallpaper.png -t -f echo "lock: unlock screen" + # After unlocking screen, stop dimmer, restore notifications dimmer stop dunstctl set-paused false ;;