commit 874b7329cf1298b11d53a03d875a03fc79e1e697
parent 3f5f6586352b76c53c24f0ca7163c97ddf6c816c
Author: Jacob R. Edwards <n/a>
Date: Tue, 4 Oct 2022 14:45:33 -0700
Use xautolock(1) to automatically run the away script on inactivity
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/local/xenodm/config/xsession b/local/xenodm/config/xsession
@@ -17,5 +17,6 @@ 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 10 -locker away -notify 10 -notifier "herbe 'System Lock Imminent'" &
exec dwm >> /tmp/dwm.log 2>&1