summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skel/.config/autostart/disable-dpms.desktop8
-rwxr-xr-xskel/.config/autostart/scripts/disable-dpms.sh5
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