config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit fc0cabedaff289f7a94e430ca07fd37f713e7fff
parent 47ca9689c1c669eb9d87ef82efe4c1e070fcd624
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Fri,  3 Mar 2023 11:40:49 -0800

Use notify for xautolock notifier and add detectsleep option

Diffstat:
Mlocal/xenodm/sys/config/xsession | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/local/xenodm/sys/config/xsession b/local/xenodm/sys/config/xsession @@ -17,8 +17,9 @@ xmodmap "$XDG_CONFIG_HOME"/xmodmap & xrdb -load "$XDG_CONFIG_HOME"/xresources & slstatus & xset dpms 0 480 0 r rate 250 30 s 0 b 0 0 0 m 3 1 & -xautolock -time 15 -locker lock -notify 15 \ - -notifier 'herbe "Idle lockdown in 15 seconds"' & +xautolock -time 15 -detectsleep -locker lock -notify 60 \ + -notifier 'notify -u high "Lockdown in one minute"' & +dunst & { while dwm > /tmp/dwm.log 2>&1 &&