summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDjMelik <melik@archlinux.us>2010-11-17 01:48:07 -0800
committerDjMelik <melik@archlinux.us>2010-11-17 01:48:07 -0800
commit66ad07848e4447bfac54eeac936b61c60e9c3a0b (patch)
tree2d3990d31282001bf0f3de97b814b2a43a77a90b
parentd96d929bfbd4812504565f430fbf0a5d3cf8642e (diff)
cleanup
-rw-r--r--archey.new43
1 files changed, 22 insertions, 21 deletions
diff --git a/archey.new b/archey.new
index 8ece278..dd157ad 100644
--- a/archey.new
+++ b/archey.new
@@ -55,7 +55,8 @@ deDict = {
'ksmserver': 'KDE',
'xfce4-session': 'Xfce',
'lxsession': 'LXDE'
- }
+ }
+
wmDict = {
'awesome': 'Awesome',
'beryl': 'Beryl',
@@ -128,13 +129,13 @@ class User(Output):
self.value = os.getenv('USER')
#class Hostname(Output):
-# def __init__(self):
+# def __init__(self):
#class Distro(Output):
-# def __init__(self):
+# def __init__(self):
#class Kernel(Output):
-# def __init__(self):
+# def __init__(self):
class Uptime(Output):
def __init__(self):
@@ -165,34 +166,34 @@ class Uptime(Output):
# self.value = wm
#class DesktopEnvironment(Output):
-# def __init__(self):
-# de = ''
-# for key in deDict.keys():
-# if processes(key):
-# wm = key
-# break
+# def __init__(self):
+# de = ''
+# for key in deDict.keys():
+# if processes(key):
+# wm = key
+# break
#
-# self.key = 'Desktop Environment'
-# self.value = de
+# self.key = 'Desktop Environment'
+# self.value = de
class Shell(Output):
- def __init__(self):
- self.key = 'Shell'
- self.value = os.getenv('SHELL')
+ def __init__(self):
+ self.key = 'Shell'
+ self.value = os.getenv('SHELL')
class Terminal(Output):
- def __init__(self):
- self.key = 'Terminal'
- self.value = os.getenv('TERM')
+ def __init__(self):
+ self.key = 'Terminal'
+ self.value = os.getenv('TERM')
#class Packages(Output):
-# def __init__(self):
+# def __init__(self):
#class CPU(Output):
-# def __init__(self):
+# def __init__(self):
#class RAM(Output):
-# def __init__(self):
+# def __init__(self):
#class Disk(Output):
# def __init__(self):