From 3449206c06d060ed0f120af28ee8ab20eae52bf4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 20 Jul 2014 10:35:36 +0100 Subject: Xmobar: use solarized-light colours --- tag-xmobar/xmobarrc | 22 +++++++++++----------- tag-xmonad/xmonad/xmonad.hs | 5 ++++- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/tag-xmobar/xmobarrc b/tag-xmobar/xmobarrc index ae7c7112..dd54a928 100644 --- a/tag-xmobar/xmobarrc +++ b/tag-xmobar/xmobarrc @@ -1,8 +1,8 @@ Config { font = "-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*" , borderColor = "#657b83" , border = TopB - , bgColor = "#002b36" - , fgColor = "#fdf6e3" + , bgColor = "#fdf6e3" + , fgColor = "#657b83" , position = BottomW L 90 , lowerOnStart = False , hideOnStart = False @@ -10,23 +10,23 @@ Config { font = "-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*" , commands = [ Run Weather "EGNX" ["-t", "ºC" ,"-L", "12" ,"-H", "22" - ,"--low", "lightblue" - ,"--normal", "green" - ,"--high", "red" + ,"--low", "#268bd2" + ,"--normal", "#859900" + ,"--high", "#dc322f" ] 36000 , Run DynNetwork ["-t", "Net: ¦KB" ,"-L", "512" ,"-H", "10240" - ,"--low", "green" - ,"--normal", "yellow" - ,"--high", "red" + ,"--low", "#859900" + ,"--normal", "#b58900" + ,"--high", "#dc322f" ,"-m", "5" ] 10 , Run Cpu ["-p", "3" ,"-L", "3" ,"-H", "50" - ,"--normal", "green" - ,"--high", "red" + ,"--normal", "#859900" + ,"--high", "#dc322f" ] 10 , Run Memory ["-p", "3" ,"-t", "Mem: %" @@ -36,5 +36,5 @@ Config { font = "-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*" ] , sepChar = "%" , alignSep = "}{" - , template = "%StdinReader% }{ %cpu% | %memory% | %dynnetwork% | %EGNX% | %date%" + , template = "%StdinReader% }{ %cpu% | %memory% | %dynnetwork% | %EGNX% | %date%" } diff --git a/tag-xmonad/xmonad/xmonad.hs b/tag-xmonad/xmonad/xmonad.hs index 93a6edf4..93670ad5 100644 --- a/tag-xmonad/xmonad/xmonad.hs +++ b/tag-xmonad/xmonad/xmonad.hs @@ -12,7 +12,10 @@ main = do layoutHook = avoidStruts $ layoutHook defaultConfig, logHook = dynamicLogWithPP xmobarPP { ppOutput = hPutStrLn xmproc, - ppTitle = xmobarColor "green" "" . shorten 200 + ppTitle = xmobarColor "#859900" "" . shorten 200, + ppCurrent = xmobarColor "#b58900" "". wrap "[" "]", + ppHiddenNoWindows = xmobarColor "#93a1a1" "", + ppUrgent = xmobarColor "#dc322f" "#b58900" }, terminal = "urxvt", modMask = mod4Mask -- cgit 1.4.1