Config {font = "Ubuntu bold 10"
, additionalFonts =
[ "Font Awesome 6 Free Solid 10"
, "Font Awesome 6 Free Solid 9"
, "FiraCode Nerd Font Mono 17"
, "FiraCode Nerd Font Mono 10"
, "Font Awesome 6 Free Solid 17"
, "Font Awesome 6 Free Solid 13"
]
, bgColor = "#2B2E37"
, fgColor = "#929AAD"
-- Position TopSize and BottomSize take 3 arguments:
-- an alignment parameter (L/R/C) for Left, Right or Center.
-- an integer for the percentage width, so 100 would be 100%.
-- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
-- NOTE: The height should be the same as the trayer (system tray) height.
, position = TopHM 36 8 8 4 0
, lowerOnStart = True
, hideOnStart = False
, allDesktops = True
, persistent = False
, iconRoot = "/home/afonso/.config/xmobar/xpm/" -- default: "."
, commands = [
Run XMonadLog
, Run Date "%a, %d %b %H:%M" "date" 10
, Run Mpris2 "playerctld" ["-t", " - "] 10
, Run Memory ["-t"," %"] 50
, Run Com "/home/afonso/.config/xmobar/scripts/disk.sh" [] "disk" 100
, Run Com "/home/afonso/.config/xmobar/scripts/cpu_temp.sh" [] "cpu" 50
, Run Com "/home/afonso/.config/xmobar/scripts/battery.sh" [] "battery" 50
, Run Com "/home/afonso/.config/xmobar/scripts/updates.sh" [] "updates" 6000
, Run Com "/home/afonso/.config/xmobar/scripts/trayer-padding-icon.sh" [] "trayerpad" 20
]
, sepChar = "%"
, alignSep = "}{"
, template = " \
\ \
\%XMonadLog%\
\}\
\%date%\
\\
\{\
\Playing: %mpris2%\
\ \
\|\
\ \
\%updates%\
\ \
\ \
\%memory%\
\ \
\ \
\%cpu%\
\ \
\ \
\%disk%\
\ \
\ \
\%battery%\
\|\
\%trayerpad%"
}