mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 20:10:23 +10:00
26 lines
1.4 KiB
Plaintext
Executable File
26 lines
1.4 KiB
Plaintext
Executable File
-- 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
|
|
|
|
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
|
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
|
|
, bgColor = "#282A36"
|
|
, fgColor = "#B45BCF"
|
|
, position = Top
|
|
, lowerOnStart = True
|
|
, hideOnStart = False
|
|
, allDesktops = True
|
|
, persistent = True
|
|
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
|
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
|
|
, Run Network "enp4s0" ["-t", "<icon=network-icon_24.xpm/> net: <rx>kb|<tx>kb"] 10
|
|
, Run Cpu ["-t","<icon=gnome_cpu_24.xpm/> cpu: <total>%","-H","50","--high","red"] 10
|
|
, Run Memory ["-t", "<icon=memory-icon_24.xpm/> mem: <usedratio>%"] 10
|
|
, Run DiskU [("/","<icon=harddisk-icon_24.xpm/> hdd: <used>/<size>")] [] 3600
|
|
, Run UnsafeStdinReader
|
|
]
|
|
, sepChar = "%"
|
|
, alignSep = "}{"
|
|
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#FFB86C>%cpu%</fc> : <fc=#FF5555>%memory%</fc> : <fc=#82AAFF>%disku%</fc> : <fc=#c3e88d>%enp4s0%</fc> : <icon=calendar-clock-icon_24.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
|
|
}
|