From: Samir Benmendil Date: Sun, 5 Jan 2020 17:16:22 +0000 (+0000) Subject: xinit: configue xautolock in Xresources X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/e7cceae8485ba5c329b3ccde56530bd2551b1e72?ds=sidebyside xinit: configue xautolock in Xresources --- diff --git a/xinit/Xresources.d/hactar b/xinit/Xresources.d/hactar new file mode 100644 index 0000000..6728bf9 --- /dev/null +++ b/xinit/Xresources.d/hactar @@ -0,0 +1,6 @@ +Xautolock.notify: 600 +Xautolock.notifier: xset dpms force off +Xautolock.time: 20 +Xautolock.locker: i3lock -nc 000000 +Xautolock.killtime: 70 +Xautolock.killer: systemctl suspend diff --git a/xinit/Xresources.d/skull-canyon b/xinit/Xresources.d/skull-canyon index 7931cad..e5d1a1f 100644 --- a/xinit/Xresources.d/skull-canyon +++ b/xinit/Xresources.d/skull-canyon @@ -1 +1,6 @@ Xft.dpi: 168 + +Xautolock.notify: 600 +Xautolock.notifier: xset dmps force off +Xautolock.time: 20 +Xautolock.locker: i3lock -nc 000000 diff --git a/xinit/xprofile.d/10-screensaver.sh b/xinit/xprofile.d/10-screensaver.sh index 0d16adc..0b36249 100755 --- a/xinit/xprofile.d/10-screensaver.sh +++ b/xinit/xprofile.d/10-screensaver.sh @@ -2,4 +2,5 @@ xset s 600 xset dpms 300 900 1800 # 5m 15m 30m -xss-lock -- i3lock -nc 000000 & +# settings can be found in Xresources +xautolock -detectsleep &