switch to single bar for xmobar

This commit is contained in:
frosty 2024-07-03 19:58:34 -04:00
parent 20698e8283
commit b2c381610a
3 changed files with 21 additions and 31 deletions

21
.config/xmobar/xmobarrc Normal file
View file

@ -0,0 +1,21 @@
Config
{ font = "Terminus 8"
, textOffset = 0
, bgColor = "#121212"
, fgColor = "#cccccc"
, position = Top
, template = " %XMonadLog% }{ <fc=#fc7932>%ip%</fc> @ %ssid% <fc=#777777>:</fc> VOL %volume% <fc=#777777>:</fc> %battery% <fc=#777777>:</fc> CPU %cpu% <fc=#777777>:</fc> RAM %memory% <fc=#777777>:</fc> %load% <fc=#777777>:</fc> <fc=#f7e83b>%date%</fc> "
, commands =
[ Run XMonadLog
, Run Com "ipmon" [] "ip" 6000
, Run Com "ssidmon" [] "ssid" 6000
, Run PipeReader "/tmp/pipe-volume" "volume"
, Run Com "batmon" [] "battery" 36000
, Run Com "cpumon" [] "cpu" 50
, Run Com "memmon" [] "memory" 50
, Run Com "loadmon" [] "load" 6000
, Run Date "%d/%m/%Y %H:%M:%S" "date" 10
]
}
-- vim:ft=haskell

View file

@ -1,16 +0,0 @@
Config
{ font = "Terminus 8"
, bgColor = "#1d2021"
, fgColor = "#ebdbb2"
, position = BottomH 16
, template = " <fc=#83a598>~</fc> %disk-home% <fc=#7c6f64>|</fc> <fc=#83a598>/</fc> %disk-root% <fc=#7c6f64>|</fc> <fc=#d3869b>%uptime%</fc> }{ %nowplaying% <fc=#7c6f64>|</fc> VOL [%volume%] "
, commands =
[ Run Com "diskusage" ["/home"] "disk-home" 36000
, Run Com "diskusage" ["/"] "disk-root" 36000
, Run Com "uppretty" [] "uptime" 600
, Run PipeReader "/tmp/pipe-volume" "volume"
, Run PipeReader "/tmp/pipe-nowplaying" "nowplaying"
]
}
-- vim:ft=haskell

View file

@ -1,15 +0,0 @@
Config
{ font = "Terminus 8"
, bgColor = "#1d2021"
, fgColor = "#ebdbb2"
, position = TopH 16
, template = " %XMonadLog% }{ CPU [%cpu%] <fc=#7c6f64>|</fc> RAM [%memory%] <fc=#7c6f64>|</fc> %date% "
, commands =
[ Run XMonadLog
, Run Com "genbar" ["memmon", "10", "1"] "memory" 30
, Run Com "genbar" ["cpumon", "10", "1"] "cpu" 30
, Run Date "%-I:%M:%S %p" "date" 10
]
}
-- vim:ft=haskell