summaryrefslogtreecommitdiff
path: root/archey
diff options
context:
space:
mode:
authorLaurie <bluepeppers@archlinux.us>2010-01-16 14:38:48 +0000
committerLaurie <bluepeppers@archlinux.us>2010-01-16 14:38:48 +0000
commit740d59f30348ced5956f41b5d05d6d3e901796a9 (patch)
tree1ef1263663b5a8d46cfba888b4e1d53ad801ea41 /archey
parent17fdaadd18271a4db42995b3dd2f99ad1171a175 (diff)
Sorry, that should have been ps -u username, the A overrides the u
Diffstat (limited to 'archey')
-rw-r--r--archey2
1 files changed, 1 insertions, 1 deletions
diff --git a/archey b/archey
index b660da3..1d20afc 100644
--- a/archey
+++ b/archey
@@ -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