mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-30 13:24:21 +02:00
xss-lock: remove unused function
This commit is contained in:
parent
6729429c57
commit
e51bb453f6
1 changed files with 1 additions and 4 deletions
|
@ -8,10 +8,6 @@ configure() {
|
||||||
xset s $((timeout - notify)) $notify
|
xset s $((timeout - notify)) $notify
|
||||||
xset dpms $((timeout * 2)) $((timeout * 22 / 10)) $((timeout * 24 / 10))
|
xset dpms $((timeout * 2)) $((timeout * 22 / 10)) $((timeout * 24 / 10))
|
||||||
}
|
}
|
||||||
unconfigure() {
|
|
||||||
xset s 0
|
|
||||||
xset dpms 0 0 0
|
|
||||||
}
|
|
||||||
dimmer() {
|
dimmer() {
|
||||||
systemctl --user $1 dimmer@$notify.service
|
systemctl --user $1 dimmer@$notify.service
|
||||||
}
|
}
|
||||||
|
@ -40,6 +36,7 @@ case "$1" in
|
||||||
# Then, lock screen
|
# Then, lock screen
|
||||||
i3lock -n -e -i $HOME/.cache/i3/current-wallpaper.png -t -f
|
i3lock -n -e -i $HOME/.cache/i3/current-wallpaper.png -t -f
|
||||||
echo "lock: unlock screen"
|
echo "lock: unlock screen"
|
||||||
|
# After unlocking screen, stop dimmer, restore notifications
|
||||||
dimmer stop
|
dimmer stop
|
||||||
dunstctl set-paused false
|
dunstctl set-paused false
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue