summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-07-20 10:35:36 +0100
committerAlan Pearce2014-07-20 10:35:36 +0100
commit3449206c06d060ed0f120af28ee8ab20eae52bf4 (patch)
tree3f43bd62aa441f2ffb44857e3f4fc3c2c9c0bd58
parent41094953cf1c751ace460f7814dc2b10fb9f9ea1 (diff)
downloadnixfiles-3449206c06d060ed0f120af28ee8ab20eae52bf4.tar.lz
nixfiles-3449206c06d060ed0f120af28ee8ab20eae52bf4.tar.zst
nixfiles-3449206c06d060ed0f120af28ee8ab20eae52bf4.zip
Xmobar: use solarized-light colours
-rw-r--r--tag-xmobar/xmobarrc22
-rw-r--r--tag-xmonad/xmonad/xmonad.hs5
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", "<tempC>ºC"
                                          ,"-L", "12"
                                          ,"-H", "22"
-                                         ,"--low", "lightblue"
-                                         ,"--normal", "green"
-                                         ,"--high", "red"
+                                         ,"--low", "#268bd2"
+                                         ,"--normal", "#859900"
+                                         ,"--high", "#dc322f"
                                          ] 36000
                     , Run DynNetwork ["-t", "Net: <rx>¦<tx>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: <usedratio>%"
@@ -36,5 +36,5 @@ Config { font = "-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*"
                     ]
        , sepChar = "%"
        , alignSep = "}{"
-       , template = "%StdinReader% }{ %cpu% | %memory% | %dynnetwork% | %EGNX% | <fc=#ee9a00>%date%</fc>"
+       , template = "%StdinReader% }{ %cpu% | %memory% | %dynnetwork% | %EGNX% | <fc=#2aa198>%date%</fc>"
        }
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