summaryrefslogtreecommitdiff
path: root/archey3
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <bluepeppers@archlinux.us>2011-09-17 22:21:50 +0100
committerLaurie Clark-Michalek <bluepeppers@archlinux.us>2011-09-17 22:21:50 +0100
commitc1611744f9023511497ba8b3300d173e36d93b8e (patch)
tree2a71e91614f23f2fb7493d64a3cc333eb2326de1 /archey3
parent824678651b0d447f76992754a58714e61c7ee5bc (diff)
Reversed problem with xmonad
Diffstat (limited to 'archey3')
-rw-r--r--archey35
1 files changed, 1 insertions, 4 deletions
diff --git a/archey3 b/archey3
index 4acb7c4..d9cf468 100644
--- a/archey3
+++ b/archey3
@@ -110,7 +110,7 @@ WM_DICT = {
'wmii': 'wmii',
'xfwm4': 'Xfwm',
'emerald': 'Emerald',
- 'xmonad': 'xmonad',
+ re.compile('xmonad-*'): 'xmonad',
'': 'None',
}
@@ -423,15 +423,12 @@ class processCheck(display):
out = str(self.process.communicate()[0])
self._processes = set()
- import pdb; pdb.set_trace()
for line in out.split("\\n"):
- print(line)
words = line.split()
if len(words) <= 3:
continue
self._processes.add(words[3])
- print(self._processes)
def __call__(self, proc):
if proc in self._processes: