summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDjMelik <melik@archlinux.us>2010-11-17 11:49:59 -0800
committerDjMelik <melik@archlinux.us>2010-11-17 11:49:59 -0800
commit1ab3c80e26429b964f41deefba2a831442bdb486 (patch)
treea55cccfeb595f7bee8b1c747fde5857ebbd39c36
parentfd19001e5f855a26b13eed0674223a96faf65a69 (diff)
spaces > tabs
-rw-r--r--archey.new76
1 files changed, 38 insertions, 38 deletions
diff --git a/archey.new b/archey.new
index d744d20..72a5b3c 100644
--- a/archey.new
+++ b/archey.new
@@ -51,36 +51,36 @@ colorDict = {
}
deDict = {
- 'gnome-session': 'GNOME',
- 'ksmserver': 'KDE',
- 'xfce4-session': 'Xfce',
- 'lxsession': 'LXDE'
- }
+ 'gnome-session': 'GNOME',
+ 'ksmserver': 'KDE',
+ 'xfce4-session': 'Xfce',
+ 'lxsession': 'LXDE'
+ }
wmDict = {
- 'awesome': 'Awesome',
- 'beryl': 'Beryl',
- 'blackbox': 'Blackbox',
- 'compiz': 'Compiz',
- 'dwm': 'DWM',
- 'enlightenment': 'Enlightenment',
- 'fluxbox': 'Fluxbox',
- 'fvwm': 'FVWM',
- 'i3': 'i3',
- 'icewm': 'IceWM',
- 'kwin': 'KWin',
- 'metacity': 'Metacity',
- 'musca': 'Musca',
- 'openbox': 'Openbox',
- 'pekwm': 'PekWM',
- 'ratpoison': 'ratpoison',
- 'scrotwm': 'ScrotWM',
- 'wmaker': 'Window Maker',
- 'wmfs': 'Wmfs',
- 'wmii': 'wmii',
- 'xfwm4': 'Xfwm',
- 'xmonad': 'xmonad'
- }
+ 'awesome': 'Awesome',
+ 'beryl': 'Beryl',
+ 'blackbox': 'Blackbox',
+ 'compiz': 'Compiz',
+ 'dwm': 'DWM',
+ 'enlightenment': 'Enlightenment',
+ 'fluxbox': 'Fluxbox',
+ 'fvwm': 'FVWM',
+ 'i3': 'i3',
+ 'icewm': 'IceWM',
+ 'kwin': 'KWin',
+ 'metacity': 'Metacity',
+ 'musca': 'Musca',
+ 'openbox': 'Openbox',
+ 'pekwm': 'PekWM',
+ 'ratpoison': 'ratpoison',
+ 'scrotwm': 'ScrotWM',
+ 'wmaker': 'Window Maker',
+ 'wmfs': 'Wmfs',
+ wmii': 'wmii',
+ 'xfwm4': 'Xfwm',
+ 'xmonad': 'xmonad'
+ }
logosDict = {'Arch Linux': '''{color[1]}
{color[1]} + {results[0]}
@@ -118,8 +118,8 @@ class Output:
def __detectDistro(self):
if os.path.exists('/etc/pacman.conf'):
return 'Arch Linux'
- else:
- sys.exit(1)
+ else:
+ sys.exit(1)
def append(self, display):
self.results.append('%s%s: %s%s' % (colorDict[self.distro][1], display.key, colorDict['Clear'][0], display.value))
@@ -159,15 +159,15 @@ class Uptime:
self.value = uptime
class WindowManager:
- def __init__(self):
- wm = ''
- for key in wmDict.keys():
- if key in processes:
- wm = key
- break
+ def __init__(self):
+ wm = ''
+ for key in wmDict.keys():
+ if key in processes:
+ wm = wmDict[key]
+ break
- self.key = 'Window Manager'
- self.value = wm
+ self.key = 'Window Manager'
+ self.value = wm
class DesktopEnvironment:
def __init__(self):