Switched to Gruvbox theme
This commit is contained in:
parent
c580745feb
commit
353cc4b7ec
50
.xmobarrc
50
.xmobarrc
|
@ -2,8 +2,8 @@ Config {
|
|||
|
||||
-- Appearance
|
||||
font = "xft:OpenSans:size=9:antialias=true"
|
||||
, bgColor = "#073642"
|
||||
, fgColor = "#93a1a1"
|
||||
, bgColor = "#282828"
|
||||
, fgColor = "#ebdbb2"
|
||||
, position = TopW L 93 -- Leave space for Trayer
|
||||
|
||||
-- Layout
|
||||
|
@ -22,18 +22,18 @@ Config {
|
|||
[ Run Cpu [ "--template" , "CPU: <total>%"
|
||||
, "--Low" , "30" -- units: %
|
||||
, "--High" , "70" -- units: %
|
||||
, "--low" , "#2aa198"
|
||||
, "--normal" , "#859900"
|
||||
, "--high" , "#dc322f"
|
||||
, "--low" , "#b8bb26"
|
||||
, "--normal" , "#ebdbb2"
|
||||
, "--high" , "#fb4934"
|
||||
] 10
|
||||
|
||||
-- cpu core temperature monitor
|
||||
, Run CoreTemp [ "--template" , "Temp: <core0>°C <core1>°C"
|
||||
, "--Low" , "30" -- units: °C
|
||||
, "--High" , "80" -- units: °C
|
||||
, "--low" , "#2aa198"
|
||||
, "--normal" , "#859900"
|
||||
, "--high" , "#dc322f"
|
||||
, "--low" , "#b8bb26"
|
||||
, "--normal" , "#ebdbb2"
|
||||
, "--high" , "#fb4934"
|
||||
] 50
|
||||
|
||||
-- CPU Frequency
|
||||
|
@ -44,26 +44,26 @@ Config {
|
|||
, Run Memory [ "--template" , "MEM <usedratio>%"
|
||||
, "--Low" , "20" -- units: %
|
||||
, "--High" , "90" -- units: %
|
||||
, "--low" , "#2aa198"
|
||||
, "--normal" , "#859900"
|
||||
, "--high" , "#dc322f"
|
||||
, "--low" , "#b8bb26"
|
||||
, "--normal" , "#ebdbb2"
|
||||
, "--high" , "#fb4934"
|
||||
] 10
|
||||
|
||||
-- Battery Monitor
|
||||
, Run BatteryP ["BAT"] [ "--template" , "BAT: <acstatus>"
|
||||
, "--Low" , "10" -- units: %
|
||||
, "--High" , "80" -- units: %
|
||||
, "--low" , "#dc322f"
|
||||
, "--normal" , "#859900"
|
||||
, "--high" , "#2aa198"
|
||||
, "--low" , "#fb4934"
|
||||
, "--normal" , "#ebdbb2"
|
||||
, "--high" , "#b8bb26"
|
||||
|
||||
, "--" -- battery specific options
|
||||
-- discharging status
|
||||
, "-o" , "<left>% (<timeleft>)"
|
||||
-- AC "on" status
|
||||
, "-O" , "<fc=#2aa198>Charging</fc>"
|
||||
, "-O" , "<fc=#b8bb26>Charging</fc>"
|
||||
-- charged status
|
||||
, "-i" , "<fc=#859900>Charged</fc>"
|
||||
, "-i" , "<fc=#b8bb26>Charged</fc>"
|
||||
] 50
|
||||
|
||||
-- Read from STDIN
|
||||
|
@ -76,19 +76,19 @@ Config {
|
|||
, Run Weather "YBRK" [ "--template" , " <skyCondition> <tempC>C <rh>% <pressure> hPa"
|
||||
, "--Low" , "10"
|
||||
, "--High" , "35"
|
||||
, "--low" , "#2aa198"
|
||||
, "--normal" , "#859900"
|
||||
, "--high" , "#dc322f"
|
||||
, "--low" , "#b8bb26"
|
||||
, "--normal" , "#ebdbb2"
|
||||
, "--high" , "#fb4934"
|
||||
] 36000
|
||||
|
||||
-- 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
|
||||
, Run UVMeter "Brisbane" [ "-H" , "3"
|
||||
, "-L" , "3"
|
||||
, "--low" , "#859900"
|
||||
, "--high" , "#dc322f"
|
||||
, "--low" , "#ebdbb2"
|
||||
, "--high" , "#fb4934"
|
||||
] 900
|
||||
|
||||
-- MPD status
|
||||
|
@ -98,9 +98,9 @@ Config {
|
|||
, Run DynNetwork [ "--template" , "<dev>: <tx>kB/s"
|
||||
, "--Low" , "50000" -- units: B/s
|
||||
, "--High" , "500000" -- units: B/s
|
||||
, "--low" , "#2d9574"
|
||||
, "--normal" , "orange"
|
||||
, "--high" , "red"
|
||||
, "--low" , "#b8bb26"
|
||||
, "--normal" , "#ebdbb2"
|
||||
, "--high" , "fb4934"
|
||||
] 10
|
||||
]
|
||||
}
|
||||
|
|
|
@ -20,16 +20,16 @@ import XMonad.Util.SpawnOnce
|
|||
import System.IO
|
||||
|
||||
colourBackground :: String
|
||||
colourBackground = "#073642"
|
||||
colourBackground = "#282828"
|
||||
|
||||
colourForeground :: String
|
||||
colourForeground = "#93a1a1"
|
||||
colourForeground = "#ebdbb2"
|
||||
|
||||
highlightBackground :: String
|
||||
highlightBackground = "#002b36"
|
||||
highlightBackground = "#1d2021"
|
||||
|
||||
highlightForeground :: String
|
||||
highlightForeground = "#859900"
|
||||
highlightForeground = "#fabd2f"
|
||||
|
||||
-- Set xmobar as my task bar.
|
||||
myWsBar :: String
|
||||
|
@ -54,7 +54,7 @@ notificationCmd = "lxqt-notificationd"
|
|||
screensaverCmd = "xscreensaver -no-splash"
|
||||
settingsDaemon = "xsettingsd"
|
||||
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
|
||||
-- Make sure that HDMI is turned off by default
|
||||
|
|
Loading…
Reference in a new issue