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
|
|
|
|
|
2020-02-17 00:15:06 -05:00
|
|
|
Config { font = "xft:Mononoki Nerd Font:pixelsize=14:antialias=true:hinting=true"
|
2019-02-13 10:21:12 -05:00
|
|
|
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
|
2020-02-17 00:15:06 -05:00
|
|
|
, bgColor = "#292d3e"
|
|
|
|
, fgColor = "#bbc5ff"
|
2019-01-15 16:27:01 -05:00
|
|
|
, position = Top
|
|
|
|
, lowerOnStart = True
|
|
|
|
, hideOnStart = False
|
|
|
|
, allDesktops = True
|
|
|
|
, persistent = True
|
2020-02-17 00:15:06 -05:00
|
|
|
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
|
|
|
|
, Run Network "enp3s0" ["-t", "net: <rx>kb|<tx>kb"] 10
|
|
|
|
, Run Cpu ["-t","cpu: <total>%","-H","50","--high","red"] 10
|
|
|
|
, Run Memory ["-t","mem: <usedratio>%"] 10
|
|
|
|
, Run DiskU [("/","hdd: <used>/<size>")] [] 3600
|
2019-01-15 16:27:01 -05:00
|
|
|
, Run UnsafeStdinReader
|
|
|
|
]
|
|
|
|
, sepChar = "%"
|
|
|
|
, alignSep = "}{"
|
2020-02-17 00:15:06 -05:00
|
|
|
, template = "%UnsafeStdinReader% }{ <fc=#91A0BD> <fc=#FFE585>%cpu%</fc> : <fc=#F07178>%memory%</fc> : <fc=#82AAFF>%disku%</fc> : <fc=#c3e88d>%enp3s0%</fc> : <fc=#A3F7FF>%date%</fc> </fc> "
|
2019-01-15 16:27:01 -05:00
|
|
|
}
|