diff options
| author | J.M. Dana <jmdana@gmail.com> | 2015-04-02 19:02:04 +0100 |
|---|---|---|
| committer | J.M. Dana <jmdana@gmail.com> | 2015-04-02 19:02:04 +0100 |
| commit | dc96298a963d821b00261af76e5bc493c31a0fab (patch) | |
| tree | a8584787a082eefb51f76e338705e5271f5a2532 | |
| parent | 6b10daf968f0ed990a5c0a5c42ad73a97bc98d5b (diff) | |
init is not needed anymore
| -rw-r--r-- | py3status/modules/dpms.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/py3status/modules/dpms.py b/py3status/modules/dpms.py index cfc7213..d1967f7 100644 --- a/py3status/modules/dpms.py +++ b/py3status/modules/dpms.py @@ -15,12 +15,6 @@ from os import system class Py3status: """ """ - def __init__(self): - """ - Detect current state on start. - """ - self.run = system('xset -q | grep -iq "DPMS is enabled"') == 0 - def dpms(self, i3s_output_list, i3s_config): """ Display a colorful state of DPMS. |
