From: Samir Benmendil Date: Sat, 10 May 2014 17:15:27 +0000 (+0100) Subject: xprofile: force screen off, lock and suspend X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/e6d6ebdc06c13973a3868420c8b4d01b54e359fb?ds=sidebyside xprofile: force screen off, lock and suspend --- 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"