aboutsummaryrefslogtreecommitdiff
path: root/xmobar
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar')
-rw-r--r--xmobar/xmobar.hs18
1 files changed, 13 insertions, 5 deletions
diff --git a/xmobar/xmobar.hs b/xmobar/xmobar.hs
index 1bd7e22..27b9e07 100644
--- a/xmobar/xmobar.hs
+++ b/xmobar/xmobar.hs
@@ -1,6 +1,6 @@
import Xmobar
-green, red, blue, blue2, purple, yellow, orange, lowWhite, white :: String
+green, red, blue, blue2, aqua, purple, yellow, orange, lowWhite, white :: String
green = "#b8bb26"
red = "#fb4934"
blue = "#83a598"
@@ -8,6 +8,7 @@ blue2 = "#458588"
purple = "#d3869b"
yellow = "#fabd2f"
orange = "#fe8019"
+aqua = "#8ec07c"
lowWhite = "#a89984"
white = "#ebdbb2"
@@ -15,16 +16,23 @@ config :: Config
config =
defaultConfig
{ overrideRedirect = False
- , font = "xft:JetBrains Mono NF:style=medium:size=10"
- , bgColor = "#3c3836"
+ , font = "xft:JetBrains Mono NF Medium-10"
+ , bgColor = "#282828"
, fgColor = "#ebdbb2"
- , position = Top
+ , position = Static { xpos=0, ypos=0, width=2256, height=23 }
, commands = [ Run $ Cpu ["--template", "\63521 <total>%"
, "-L", "30"
, "-H", "70"
, "--high", red
, "--normal", yellow
] 10
+ , Run $ CoreTemp [ "--template" , "\63687 <core0>°C"
+ , "--Low" , "50" -- units: °C
+ , "--High" , "80" -- units: °C
+ , "--low" , aqua
+ , "--normal" , orange
+ , "--high" , red
+ ] 20
, Run $ Alsa "default" "Master"
[ "--template", "墳 <volume><status>"
, "--suffix", "True"
@@ -69,7 +77,7 @@ config =
]
, sepChar = "%"
, alignSep = "}{"
- , template = " %XMonadLog% }{%alsa:default:Master%|\62941 %brightness%|%battery%|%dynnetwork%|%cpu%|%memory%%swap%|%date% "
+ , template = " %XMonadLog% }{%alsa:default:Master%|\62941 %brightness%|%battery%|%dynnetwork%|%cpu%|%coretemp%|%memory%%swap%|%date% "
}
main :: IO()