mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-31 16:24:25 +02:00
lock: ensure notification happens before timeout
This commit is contained in:
parent
9eb6982085
commit
30767bea20
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ notify=10
|
|||
|
||||
case "$1" in
|
||||
start)
|
||||
xset s $timeout $notify
|
||||
xset dpms $(($timeout * 2 + $notify)) $(($timeout * 3 + $notify)) $(($timeout * 4 + $notify))
|
||||
xset s $(($timeout - $notify)) $notify
|
||||
xset dpms $(($timeout * 2)) $(($timeout * 3)) $(($timeout * 4))
|
||||
exec xss-lock -n "$me dim" -l $me lock
|
||||
;;
|
||||
dim)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue