Permalink
Browse files

Add wlan info to xmobar

  • Loading branch information...
1 parent c9b5445 commit 63d16ed369ec88fce54bcf3ad0084f28462ae1d5 @leod committed Oct 21, 2011
Showing with 6 additions and 7 deletions.
  1. +6 −7 .xmobarrc
View
@@ -1,21 +1,20 @@
-Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
+Config { font = "xft:DejaVu Sans Mono"
, bgColor = "black"
, fgColor = "grey"
- , position = Top
+ , position = Bottom
, lowerOnStart = True
- , commands = [ Run Weather "ETOU" ["-t","<station>: <tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 36000
- , Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
+ , commands = [ Run Network "wlan0" ["-t", "<rx>KB/<tx>KB"] 10
+ , Run Wireless "wlan0" ["-t", "<quality>%"] 10
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Com "uname" ["-s","-r"] "" 36000
, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
, Run StdinReader
, Run CoreTemp ["-t","Temp: <core0>|<core1>|<core2>|<core3>","-L","40","-H","60","-l","lightblue","-n","gray90","-h","red"] 50
- , Run Com "mpc | head -n1" [] "music" 5
- , Run Com "getVolume.sh" [] "volume" 1
+ , Run Battery ["-t", "Batt: <left>% / <timeleft>"] 100
]
, sepChar = "%"
, alignSep = "}{"
- , template = "%StdinReader% }{ <fc=#4444ff>%music%</fc> | Vol: %volume% | %cpu% | %memory% | %eth0% | %coretemp% | <fc=#ee9a00>%date%</fc>"
+ , template = "%StdinReader% }{ %cpu% | %memory% | %wlan0%, %wlan0wi% | %battery% | <fc=#ee9a00>%date%</fc>"
}

0 comments on commit 63d16ed

Please sign in to comment.