2019-01-15 16:27:01 -05:00
|
|
|
-- http://projects.haskell.org/xmobar/
|
|
|
|
-- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions"
|
|
|
|
-- you can find weather location codes here: http://weather.noaa.gov/index.html
|
|
|
|
|
2019-05-27 22:05:24 -04:00
|
|
|
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
2019-02-13 10:21:12 -05:00
|
|
|
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
|
2019-10-05 23:27:21 -04:00
|
|
|
, bgColor = "#282A36"
|
|
|
|
, fgColor = "#B45BCF"
|
2019-01-15 16:27:01 -05:00
|
|
|
, position = Top
|
|
|
|
, lowerOnStart = True
|
|
|
|
, hideOnStart = False
|
|
|
|
, allDesktops = True
|
|
|
|
, persistent = True
|
2019-10-06 22:36:09 -04:00
|
|
|
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
2019-10-08 18:50:26 -04:00
|
|
|
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
|
|
|
|
, Run Network "enp4s0" ["-t", "<icon=net_up_20.xpm/>up <rxbar> <icon=net_down_20.xpm/>dn <txbar>"] 10
|
|
|
|
, Run Cpu ["-t", "<icon=cpu_20.xpm/> cpu <bar> (<total>%)","-H","50","--high","red"] 10
|
|
|
|
, Run Memory ["-t", "<icon=memory-icon_20.xpm/> mem <usedbar> (<usedratio>%)"] 10
|
|
|
|
, Run DiskU [("/", "<icon=harddisk-icon_20.xpm/> hdd <usedbar> (<used>)")] [] 3600
|
2019-01-15 16:27:01 -05:00
|
|
|
, Run UnsafeStdinReader
|
|
|
|
]
|
|
|
|
, sepChar = "%"
|
|
|
|
, alignSep = "}{"
|
2019-10-16 19:46:40 -04:00
|
|
|
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> "
|
2019-01-15 16:27:01 -05:00
|
|
|
}
|