2024-07-16 05:00:36 -04:00
|
|
|
import Xmobar
|
|
|
|
|
|
|
|
config :: Config
|
|
|
|
config =
|
|
|
|
defaultConfig
|
|
|
|
{ font = "Terminus 8",
|
|
|
|
textOffset = 0,
|
|
|
|
bgColor = "#121212",
|
|
|
|
fgColor = "#cccccc",
|
|
|
|
position = Top,
|
2024-07-29 04:01:09 -04:00
|
|
|
template = " %XMonadLog% }{ %weather% <fc=#777777>|</fc> %volume% <fc=#777777>|</fc> %load% <fc=#777777>|</fc> %battery% <fc=#777777>|</fc> <fc=#f7e83b>%date%</fc> ",
|
2024-07-16 05:00:36 -04:00
|
|
|
commands =
|
|
|
|
[ Run XMonadLog,
|
2024-07-27 23:05:19 -04:00
|
|
|
Run $ PipeReader "/tmp/pipe-volume" "volume",
|
2024-07-29 04:01:09 -04:00
|
|
|
Run $ Com "monitors" ["load"] "load" 100,
|
|
|
|
Run $ PipeReader "/tmp/pipe-weather" "weather",
|
|
|
|
Run $ Com "monitors" ["battery"] "battery" 1200,
|
|
|
|
Run $ Date "%m/%d/%Y %H:%M" "date" 600
|
2024-07-16 05:00:36 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
main :: IO ()
|
|
|
|
main = xmobar config
|