From e6d6ebdc06c13973a3868420c8b4d01b54e359fb Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 10 May 2014 18:15:27 +0100 Subject: [PATCH] xprofile: force screen off, lock and suspend --- xprofile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xprofile b/xprofile index 3161e09..0f7c9a3 100644 --- a/xprofile +++ b/xprofile @@ -1,6 +1,9 @@ start-pulseaudio-x11 compton -b --config ~/.config/compton.conf -xautolock -time 10 -locker "i3lock -n -c 000000" -detectsleep & +xautolock -detectsleep \ + -notify 300 -notifier "xset dpms force off" \ + -time 10 -locker "i3lock -nc 000000" \ + -killtime 90 -killer "systemctl suspend" & xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$HOST.xkb $DISPLAY xbindkeys xcape -e "Control_L=Escape;Control_R=Escape" -- 2.48.1