2021-05-27 15:04:58 +02:00
|
|
|
Config {
|
|
|
|
font = "xft:Fira Code Retina:pixelsize=15:antialias=true:hinting=true"
|
|
|
|
, additionalFonts = [
|
|
|
|
"xft:Droid Sans Japanese:pixelsize=20:antialias=true:hinting=true",
|
|
|
|
"xft:Symbola:pixelsize=20",
|
|
|
|
"xft:Asana Math:pixelsize=20",
|
|
|
|
"xft:Noto Sans Symbols2",
|
|
|
|
"xft:FiraCode Nerd Font"
|
|
|
|
]
|
|
|
|
, borderColor = "black"
|
|
|
|
, border = TopB
|
|
|
|
, bgColor = "#272822"
|
|
|
|
, fgColor = "grey"
|
|
|
|
, alpha = 255
|
|
|
|
, position = Static { xpos = 0 , ypos = 0, width = 1920, height = 40 }
|
|
|
|
, textOffset = -1
|
|
|
|
, iconOffset = -1
|
|
|
|
, lowerOnStart = True
|
|
|
|
, pickBroadest = False
|
|
|
|
, persistent = False
|
|
|
|
, hideOnStart = False
|
|
|
|
, iconRoot = "/home/h7x4/.config/xmobar/"
|
|
|
|
, allDesktops = True
|
|
|
|
, overrideRedirect = True
|
|
|
|
, commands = [
|
|
|
|
-- Run Weather "ENVA"
|
|
|
|
-- [
|
|
|
|
-- "-t","<tempC>C",
|
|
|
|
-- "-L","6",
|
|
|
|
-- "-H","18",
|
|
|
|
-- "--normal","green",
|
|
|
|
-- "--high","red",
|
|
|
|
-- "--low","lightblue"
|
|
|
|
-- ] 36000,
|
|
|
|
|
|
|
|
Run Network "wlp59s0"
|
|
|
|
[
|
|
|
|
"-t", "<rx><fn=3>↓</fn> <tx><fn=3>↑</fn>",
|
|
|
|
"-L","0",
|
|
|
|
"-H","32",
|
|
|
|
"--normal","green",
|
|
|
|
"--high","red"
|
|
|
|
] 10,
|
|
|
|
|
|
|
|
Run Memory ["-t","<usedratio>%"] 10,
|
|
|
|
Run Swap ["-t", "<usedratio>%"] 100,
|
|
|
|
Run Date "%a %_d %b %H:%M" "date" 10,
|
|
|
|
Run Com "/home/h7x4/.config/xmobar/scripts/mpd_status.sh" [] "mpc" 10,
|
|
|
|
-- Run Com "/home/h7x4/.config/xmobar/scripts/wireless.sh" [] "wi" 100,
|
|
|
|
Run Com "/home/h7x4/.config/xmobar/scripts/volume.py" [] "vol" 10,
|
|
|
|
Run UnsafeStdinReader,
|
|
|
|
|
|
|
|
Run BatteryP ["BAT0"]
|
|
|
|
[
|
|
|
|
"-t", "<fn=2><acstatus></fn> (<left>%)",
|
|
|
|
"--Low", "20",
|
|
|
|
"--High", "50",
|
|
|
|
"--low", "red",
|
|
|
|
"--normal", "yellow",
|
|
|
|
"--high", "green",
|
|
|
|
"--",
|
|
|
|
"-O", "<fc=green>🔌</fc>",
|
2021-05-28 23:01:08 +02:00
|
|
|
"-i", "<fc=#00b7ff>🔌</fc>",
|
2021-05-27 15:04:58 +02:00
|
|
|
"-o", "<fc=yellow>🔋</fc>"
|
|
|
|
] 50
|
|
|
|
|
|
|
|
]
|
|
|
|
, sepChar = "%"
|
2021-05-28 22:06:04 +02:00
|
|
|
, alignSep = "}{"
|
|
|
|
, template = " <icon=lambda.xpm/> %mpc% %UnsafeStdinReader% }\
|
2021-05-27 15:04:58 +02:00
|
|
|
\ <fc=#ee9a00>%date%</fc> \
|
|
|
|
\{ <fc=lightgreen><fn=2>🐏</fn> %memory%</fc> | <fc=cyan>%wlp59s0%</fc> | <fc=#f5f1bc><fn=3>%vol%</fn></fc> | %battery% "
|
|
|
|
}
|