Switched to Gruvbox theme

This commit is contained in:
Craige McWhirter 2020-05-23 18:11:44 +10:00
parent c580745feb
commit 353cc4b7ec
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 30 additions and 30 deletions

View file

@ -2,8 +2,8 @@ Config {
-- Appearance -- Appearance
font = "xft:OpenSans:size=9:antialias=true" font = "xft:OpenSans:size=9:antialias=true"
, bgColor = "#073642" , bgColor = "#282828"
, fgColor = "#93a1a1" , fgColor = "#ebdbb2"
, position = TopW L 93 -- Leave space for Trayer , position = TopW L 93 -- Leave space for Trayer
-- Layout -- Layout
@ -22,18 +22,18 @@ Config {
[ Run Cpu [ "--template" , "CPU: <total>%" [ Run Cpu [ "--template" , "CPU: <total>%"
, "--Low" , "30" -- units: % , "--Low" , "30" -- units: %
, "--High" , "70" -- units: % , "--High" , "70" -- units: %
, "--low" , "#2aa198" , "--low" , "#b8bb26"
, "--normal" , "#859900" , "--normal" , "#ebdbb2"
, "--high" , "#dc322f" , "--high" , "#fb4934"
] 10 ] 10
-- cpu core temperature monitor -- cpu core temperature monitor
, Run CoreTemp [ "--template" , "Temp: <core0>°C <core1>°C" , Run CoreTemp [ "--template" , "Temp: <core0>°C <core1>°C"
, "--Low" , "30" -- units: °C , "--Low" , "30" -- units: °C
, "--High" , "80" -- units: °C , "--High" , "80" -- units: °C
, "--low" , "#2aa198" , "--low" , "#b8bb26"
, "--normal" , "#859900" , "--normal" , "#ebdbb2"
, "--high" , "#dc322f" , "--high" , "#fb4934"
] 50 ] 50
-- CPU Frequency -- CPU Frequency
@ -44,26 +44,26 @@ Config {
, Run Memory [ "--template" , "MEM <usedratio>%" , Run Memory [ "--template" , "MEM <usedratio>%"
, "--Low" , "20" -- units: % , "--Low" , "20" -- units: %
, "--High" , "90" -- units: % , "--High" , "90" -- units: %
, "--low" , "#2aa198" , "--low" , "#b8bb26"
, "--normal" , "#859900" , "--normal" , "#ebdbb2"
, "--high" , "#dc322f" , "--high" , "#fb4934"
] 10 ] 10
-- Battery Monitor -- Battery Monitor
, Run BatteryP ["BAT"] [ "--template" , "BAT: <acstatus>" , Run BatteryP ["BAT"] [ "--template" , "BAT: <acstatus>"
, "--Low" , "10" -- units: % , "--Low" , "10" -- units: %
, "--High" , "80" -- units: % , "--High" , "80" -- units: %
, "--low" , "#dc322f" , "--low" , "#fb4934"
, "--normal" , "#859900" , "--normal" , "#ebdbb2"
, "--high" , "#2aa198" , "--high" , "#b8bb26"
, "--" -- battery specific options , "--" -- battery specific options
-- discharging status -- discharging status
, "-o" , "<left>% (<timeleft>)" , "-o" , "<left>% (<timeleft>)"
-- AC "on" status -- AC "on" status
, "-O" , "<fc=#2aa198>Charging</fc>" , "-O" , "<fc=#b8bb26>Charging</fc>"
-- charged status -- charged status
, "-i" , "<fc=#859900>Charged</fc>" , "-i" , "<fc=#b8bb26>Charged</fc>"
] 50 ] 50
-- Read from STDIN -- Read from STDIN
@ -76,19 +76,19 @@ Config {
, Run Weather "YBRK" [ "--template" , " <skyCondition> <tempC>C <rh>% <pressure> hPa" , Run Weather "YBRK" [ "--template" , " <skyCondition> <tempC>C <rh>% <pressure> hPa"
, "--Low" , "10" , "--Low" , "10"
, "--High" , "35" , "--High" , "35"
, "--low" , "#2aa198" , "--low" , "#b8bb26"
, "--normal" , "#859900" , "--normal" , "#ebdbb2"
, "--high" , "#dc322f" , "--high" , "#fb4934"
] 36000 ] 36000
-- Time and Date Display -- Time and Date Display
, Run Date "<fc=#268bd2>%a %b %_d %H:%M</fc>" "date" 10 , Run Date "<fc=#b8bb26>%a %b %_d %H:%M</fc>" "date" 10
-- Display the current UV -- Display the current UV
, Run UVMeter "Brisbane" [ "-H" , "3" , Run UVMeter "Brisbane" [ "-H" , "3"
, "-L" , "3" , "-L" , "3"
, "--low" , "#859900" , "--low" , "#ebdbb2"
, "--high" , "#dc322f" , "--high" , "#fb4934"
] 900 ] 900
-- MPD status -- MPD status
@ -98,9 +98,9 @@ Config {
, Run DynNetwork [ "--template" , "<dev>: <tx>kB/s" , Run DynNetwork [ "--template" , "<dev>: <tx>kB/s"
, "--Low" , "50000" -- units: B/s , "--Low" , "50000" -- units: B/s
, "--High" , "500000" -- units: B/s , "--High" , "500000" -- units: B/s
, "--low" , "#2d9574" , "--low" , "#b8bb26"
, "--normal" , "orange" , "--normal" , "#ebdbb2"
, "--high" , "red" , "--high" , "fb4934"
] 10 ] 10
] ]
} }

View file

@ -20,16 +20,16 @@ import XMonad.Util.SpawnOnce
import System.IO import System.IO
colourBackground :: String colourBackground :: String
colourBackground = "#073642" colourBackground = "#282828"
colourForeground :: String colourForeground :: String
colourForeground = "#93a1a1" colourForeground = "#ebdbb2"
highlightBackground :: String highlightBackground :: String
highlightBackground = "#002b36" highlightBackground = "#1d2021"
highlightForeground :: String highlightForeground :: String
highlightForeground = "#859900" highlightForeground = "#fabd2f"
-- Set xmobar as my task bar. -- Set xmobar as my task bar.
myWsBar :: String myWsBar :: String
@ -54,7 +54,7 @@ notificationCmd = "lxqt-notificationd"
screensaverCmd = "xscreensaver -no-splash" screensaverCmd = "xscreensaver -no-splash"
settingsDaemon = "xsettingsd" settingsDaemon = "xsettingsd"
terminalCmd = "termonad" terminalCmd = "termonad"
trayerCmd = "trayer --edge top --align right --SetDockType true --SetPartialStrut false --expand true --width 7 --transparent true --alpha 0 --tint 0x073642 --height 20 --monitor primary" trayerCmd = "trayer --edge top --align right --SetDockType true --SetPartialStrut false --expand true --width 7 --transparent true --alpha 1 --tint 0x282828 --height 20 --monitor primary"
main = do main = do
-- Make sure that HDMI is turned off by default -- Make sure that HDMI is turned off by default