summaryrefslogtreecommitdiff
path: root/archey
diff options
context:
space:
mode:
authordjmelik <melik@archlinux.us>2009-12-30 02:08:42 -0700
committerdjmelik <melik@archlinux.us>2009-12-30 02:08:42 -0700
commite6b45415b62b478614a9629759dd70a0d4b09ae7 (patch)
tree2edc6d086ba5b914c65c4245cb528c82da74570b /archey
parentb60e01710accd6bd965953d38551fe428405db4e (diff)
removed de_or_wm function
Diffstat (limited to 'archey')
-rw-r--r--archey20
1 files changed, 2 insertions, 18 deletions
diff --git a/archey b/archey
index cf2530c..9e40915 100644
--- a/archey
+++ b/archey
@@ -22,9 +22,8 @@ display = [
'kernel', # Display Kernel
# 'battery', # Display Battery info [Requires 'acpi']
'uptime', # Display Uptime
- 'de_or_wm', # Display DE or WM
-# 'wm', # Display WM
-# 'de', # Display DE
+ 'wm', # Display WM
+ 'de', # Display DE
'packages', # Display Number of Packages Installed
# 'fs:/boot', # Display /boot partition
# 'fs:/home', # Display /home partition
@@ -143,21 +142,6 @@ def wm_display():
if key in processes: wm = wm_dict[key]
output ('WM', wm)
-# Desktop Environment or Window Manager Function
-def de_or_wm_display():
- gui = 'X'
- if gui not in processes:
- output ('GUI', 'Not Running')
- if gui in processes:
- for key in de_dict.keys():
- if key in processes:
- output ('DE', de_dict[key])
- return
- for key in wm_dict.keys():
- if key in processes:
- output ('WM', wm_dict[key])
- return
-
# Packages Function
def packages_display():
p1 = Popen(['pacman', '-Q'], stdout=PIPE)