From d9ff5f08b081461a45343a5fcd06688e082c3423 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Tue, 5 Jul 2016 09:25:23 -0400 Subject: Xmobar customization. --- xmonad/xmobar.hs | 76 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 39 insertions(+), 37 deletions(-) (limited to 'xmonad/xmobar.hs') diff --git a/xmonad/xmobar.hs b/xmonad/xmobar.hs index 2c7a257..15ec26f 100644 --- a/xmonad/xmobar.hs +++ b/xmonad/xmobar.hs @@ -6,45 +6,47 @@ Config { font = "xft:Source Code Pro:size=8:bold:antialias=true" -- "-*-Fixed-Bo , fgColor = "grey" , position = TopP 0 100 -- TopW L 95 , commands = [ - -- Run Weather "EGPF" ["-t"," °C","-L","64","-H","77","--normal","green","--high","red","--low","lightblue"] 36000 - Run Weather "KNYC" - ["-t", "NYC: °C %" - , "-L", "15", "-H", "25", "--normal", "green" - , "--high", "red", "--low", "lightblue"] 36000 - , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 - , Run Memory ["-t","Mem: %"] 10 - , Run Swap [] 10 - , Run Date "%a %b %_d %l:%M" "date" 10 - , Run DiskU [("/", "/: /")] - ["-L", "20", "-H", "50", "-m", "1", "-p", "3"] 20 - , Run StdinReader - , Run DynNetwork [ - "--template" , ": kB/s|kB/s" - , "--Low" , "1000" -- units: kB/s - , "--High" , "5000" -- units: kB/s - , "--low" , "green" - , "--normal" , "orange" - , "--high" , "red" - ] 10 - , Run BatteryP ["BAT0"] [ - "--template" , "Batt: " - , "--Low" , "10" -- units: % - , "--High" , "80" -- units: % - , "--low" , "darkred" - , "--normal" , "darkorange" - , "--high" , "darkgreen" - , "--" -- battery specific options - -- discharging status - , "-o" , "% ()" - -- AC "on" status - , "-O" , "Charging" - -- charged status - , "-i" , "Charged" - ] 50 - ] + -- Run Weather "EGPF" ["-t"," °C","-L","64","-H","77","--normal","green","--high","red","--low","lightblue"] 36000 + Run Weather "KNYC" + ["-t", "NYC: °C %" + , "-L", "15", "-H", "25", "--normal", "green" + , "--high", "red", "--low", "lightblue"] 36000 + , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10 + , Run Volume "default" "Master" [] 10 + , Run Brightness ["-t", "%"] 10 + , Run Memory ["-t","Mem: %"] 10 + -- , Run Swap [] 10 + , Run Date "%a %b %_d %l:%M" "date" 10 + , Run DiskU [("/", "/: /")] + ["-L", "20", "-H", "50", "-m", "1", "-p", "3"] 1000 + , Run StdinReader + , Run DynNetwork [ + "--template" , ": kB/s|kB/s" + , "--Low" , "1000" -- units: kB/s + , "--High" , "5000" -- units: kB/s + , "--low" , "green" + , "--normal" , "orange" + , "--high" , "red" + ] 100 + , Run BatteryP ["BAT0"] [ + "--template" , "Batt: " + , "--Low" , "10" -- units: % + , "--High" , "80" -- units: % + , "--low" , "darkred" + , "--normal" , "darkorange" + , "--high" , "darkgreen" + , "--" -- battery specific options + -- discharging status + , "-o" , "% ()" + -- AC "on" status + , "-O" , "Charging" + -- charged status + , "-i" , "Charged" + ] 50 + ] , sepChar = "%" , alignSep = "}{" - , template = "%StdinReader% }{ %battery% | %dynnetwork% | %disku% | %cpu% | %memory% * %swap% %date% | %KNYC%" + , template = "%StdinReader% }{ %default:Master% %bright% %battery% | %dynnetwork% | %disku% | %cpu% | %memory% %date% | %KNYC%" } -- Config { -- cgit v1.2.3