diff options
author | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2011-09-17 22:21:50 +0100 |
---|---|---|
committer | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2011-09-17 22:21:50 +0100 |
commit | c1611744f9023511497ba8b3300d173e36d93b8e (patch) | |
tree | 2a71e91614f23f2fb7493d64a3cc333eb2326de1 | |
parent | 824678651b0d447f76992754a58714e61c7ee5bc (diff) |
Reversed problem with xmonad
-rw-r--r-- | archey3 | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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: |