From dc96298a963d821b00261af76e5bc493c31a0fab Mon Sep 17 00:00:00 2001 From: "J.M. Dana" Date: Thu, 2 Apr 2015 19:02:04 +0100 Subject: init is not needed anymore --- py3status/modules/dpms.py | 6 ------ 1 file changed, 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. -- cgit v1.3