mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-09 20:19:37 +00:00
add screen lock
This commit is contained in:
parent
0d449009c7
commit
df35e0c966
@ -27,3 +27,18 @@ nm-applet &
|
||||
# Start volume bar
|
||||
~/.config/xob/volume.sh &
|
||||
|
||||
# Run xidlehook
|
||||
xidlehook \
|
||||
`# Don't lock when there's a fullscreen application` \
|
||||
--not-when-fullscreen \
|
||||
`# Don't lock when there's audio playing` \
|
||||
--not-when-audio \
|
||||
`# Lock after 5 minutes` \
|
||||
--timer 300 \
|
||||
'betterlockscreen -l dimblur' \
|
||||
'' \
|
||||
`# Finally, suspend an hour after it locks` \
|
||||
--timer 3600 \
|
||||
'systemctl suspend' \
|
||||
'' &
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user