diff options
author | Laurie <bluepeppers@archlinux.us> | 2010-01-16 14:38:48 +0000 |
---|---|---|
committer | Laurie <bluepeppers@archlinux.us> | 2010-01-16 14:38:48 +0000 |
commit | 740d59f30348ced5956f41b5d05d6d3e901796a9 (patch) | |
tree | 1ef1263663b5a8d46cfba888b4e1d53ad801ea41 /archey | |
parent | 17fdaadd18271a4db42995b3dd2f99ad1171a175 (diff) |
Sorry, that should have been ps -u username, the A overrides the u
Diffstat (limited to 'archey')
-rw-r--r-- | archey | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ sh_dict = {'zsh': 'Z-Shell', def xmonadfix(str): if re.compile("xmonad").match(str): return "xmonad" return str -p1 = Popen(['ps', '-Au', getuser()], stdout=PIPE).communicate()[0].split('\n') +p1 = Popen(['ps', '-u', getuser()], stdout=PIPE).communicate()[0].split('\n') processes = map(xmonadfix, [process.split()[3] for process in p1 if process]) p1 = None |