From 6b49d8f3608c8e913b43f6f2c27ac169e770732f Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 21 Apr 2020 17:29:28 +0100 Subject: [PATCH] delay xset power management commands --- xinitrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xinitrc b/xinitrc index 6f348a9..001a202 100644 --- a/xinitrc +++ b/xinitrc @@ -57,8 +57,9 @@ xset m 0 0 # reassign AltGR to Super_L xmodmap -e "keycode 108 = Super_L" -# disable DPMS and screensaving -xset s off -dpms +# disable DPMS and screensaving - doesn't work without a dely +# TODO does this now work with a dely? +(sleep 5s && xset s off -dpms) & if command -v xbindkeys ; then xbindkeys