summaryrefslogtreecommitdiffstats
path: root/py3status/modules
diff options
context:
space:
mode:
Diffstat (limited to 'py3status/modules')
-rw-r--r--py3status/modules/dpms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py3status/modules/dpms.py b/py3status/modules/dpms.py
index ba7437e..bcef53c 100644
--- a/py3status/modules/dpms.py
+++ b/py3status/modules/dpms.py
@@ -38,8 +38,8 @@ class Py3status:
if event['button'] == 1:
if self.run:
self.run = False
- system("xset -dpms")
+ system("xset -dpms;xset s off")
else:
self.run = True
- system("xset +dpms")
+ system("xset +dpms;xset s on")
system("killall -USR1 py3status")