aboutsummaryrefslogtreecommitdiff
path: root/xmobar
diff options
context:
space:
mode:
authorBryson Steck <me@brysonsteck.xyz>2024-04-09 18:29:39 -0600
committerBryson Steck <me@brysonsteck.xyz>2024-04-09 18:29:39 -0600
commitc6cc202ab95e6f199e63d59ea68d4bcb39940945 (patch)
tree5b1c17cfa3eeea20b401b6dcf7b303a1556ab39d /xmobar
parentc1e3c46afdcb455175f0bb18b606f61c864d008a (diff)
downloaddotfiles-master.tar
dotfiles-master.tar.gz
dotfiles-master.tar.bz2
redid bash config and update script, experimenting with doom emacsHEADmaster
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()