aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/clear-dpms-state
diff options
context:
space:
mode:
authorkj_sh6042025-11-09 01:51:28 -0500
committerkj_sh6042025-11-09 01:51:28 -0500
commit4233b8e107334df4135d37c7f45ba05dcabdd2c1 (patch)
treebcb8738f0cc22f60f42d89b9341078cd2fd73922 /.local/bin/clear-dpms-state
parente3f73007e64fb0197fc36487d289d4e303a7f194 (diff)
refactor: rename script
Diffstat (limited to '.local/bin/clear-dpms-state')
-rwxr-xr-x.local/bin/clear-dpms-state14
1 files changed, 14 insertions, 0 deletions
diff --git a/.local/bin/clear-dpms-state b/.local/bin/clear-dpms-state
new file mode 100755
index 0000000..ce6c99a
--- /dev/null
+++ b/.local/bin/clear-dpms-state
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Check if xset is available
+if command -v xset > /dev/null; then
+ # Place all DPMS settings that you want
+ # to run on awesome-wm startup below:
+ xset s noblank
+ xset s noexpose
+ xset s off off
+ xset dpms 0 0 0
+ xset -dpms
+else
+ notify-send "error: xset binary not found."
+fi