diff options
author | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2011-03-29 17:49:35 +0000 |
---|---|---|
committer | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2011-03-29 17:49:35 +0000 |
commit | 1e133e983503e26f9eeeef10ab53eb26f5486d82 (patch) | |
tree | a2184c4526fb84e3e4c3f08c378375a444e71e4c | |
parent | ee306ae6702a7bbfe1f2d152216fe671e2930979 (diff) |
Added manual option for DE and WM display classes to allow users to specify products not in the standard DE_DICT/WM_DICT
-rwxr-xr-x | archey3 | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -378,6 +378,8 @@ class proccessCheck(display): class wmDisplay(display): def render(self): + if not self.config.get('wm', 'manual', False): + return "WM", self.config.get('de', 'manual') wm = '' for key in WM_DICT.keys(): if processes(key): @@ -387,6 +389,8 @@ class wmDisplay(display): class deDisplay(display): def render(self): + if not self.config.get('de', 'manual', False): + return "DE", self.config.get('de', 'manual') de = '' for key in DE_DICT.keys(): if processes(key): |