diff options
author | bionel <ionel.busuioc@gmil.com> | 2016-08-07 13:56:40 +0300 |
---|---|---|
committer | bionel <ionel.busuioc@gmil.com> | 2016-08-07 13:56:40 +0300 |
commit | 4cce12db9c3577bb870a6393a8c94f656f863752 (patch) | |
tree | 2ce0aae429d18e482ace03f953208b07d4f90f6e | |
parent | 4af05478b682cbe4e35c8cb9f1f4353b286a9c88 (diff) |
add script to deactivate dpms
-rw-r--r-- | skel/.config/autostart/disable-dpms.desktop | 8 | ||||
-rwxr-xr-x | skel/.config/autostart/scripts/disable-dpms.sh | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/skel/.config/autostart/disable-dpms.desktop b/skel/.config/autostart/disable-dpms.desktop new file mode 100644 index 0000000..eb297d5 --- /dev/null +++ b/skel/.config/autostart/disable-dpms.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Name=Disable DPMS +Comment=Disable DPMS +Exec=~/.config/autostart/scripts/disable-dpms.sh +Terminal=false +Type=Application +Categories= diff --git a/skel/.config/autostart/scripts/disable-dpms.sh b/skel/.config/autostart/scripts/disable-dpms.sh new file mode 100755 index 0000000..150cb1f --- /dev/null +++ b/skel/.config/autostart/scripts/disable-dpms.sh @@ -0,0 +1,5 @@ +#!/bin/bash +sleep 300 +xset dpms 0 0 0 +xset -dpms +xset s off
\ No newline at end of file |