delay xset power management commands

This commit is contained in:
Ray Elliott 2020-04-21 17:29:28 +01:00
parent 73099ac3a2
commit 6b49d8f360
1 changed files with 3 additions and 2 deletions

View File

@ -57,8 +57,9 @@ xset m 0 0
# reassign AltGR to Super_L # reassign AltGR to Super_L
xmodmap -e "keycode 108 = Super_L" xmodmap -e "keycode 108 = Super_L"
# disable DPMS and screensaving # disable DPMS and screensaving - doesn't work without a dely
xset s off -dpms # TODO does this now work with a dely?
(sleep 5s && xset s off -dpms) &
if command -v xbindkeys ; then if command -v xbindkeys ; then
xbindkeys xbindkeys