2022-10-31 21:00:11 +00:00
|
|
|
|
2022-11-02 12:52:45 +00:00
|
|
|
Config {font = "Ubuntu bold 10"
|
2022-10-31 21:00:11 +00:00
|
|
|
, additionalFonts =
|
2022-11-02 12:52:45 +00:00
|
|
|
[ "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"
|
2022-11-08 17:10:50 +00:00
|
|
|
, "Font Awesome 6 Free Solid 13"
|
2022-10-31 21:00:11 +00:00
|
|
|
]
|
|
|
|
, 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.
|
2023-09-20 15:18:40 +01:00
|
|
|
, position = TopHM 36 8 8 4 0
|
2022-10-31 21:00:11 +00:00
|
|
|
, lowerOnStart = True
|
|
|
|
, hideOnStart = False
|
|
|
|
, allDesktops = True
|
|
|
|
, persistent = False
|
|
|
|
, iconRoot = "/home/afonso/.config/xmobar/xpm/" -- default: "."
|
|
|
|
, commands = [
|
2023-10-13 10:27:49 +01:00
|
|
|
Run XMonadLog
|
2022-11-08 17:10:50 +00:00
|
|
|
, Run Date "%a, %d %b <fn=1></fn> %H:%M" "date" 10
|
2022-11-01 01:42:12 +00:00
|
|
|
, Run Mpris2 "playerctld" ["-t", "<fc=#AAC0F0><artist> - <title></fc>"] 10
|
2023-10-13 10:27:49 +01:00
|
|
|
, Run Memory ["-t","<fn=6></fn> <fc=#AAC0F0><usedratio></fc>%"] 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
|
|
|
|
]
|
2022-10-31 21:00:11 +00:00
|
|
|
, sepChar = "%"
|
|
|
|
, alignSep = "}{"
|
|
|
|
, template = " <icon=logo.xpm/> \
|
|
|
|
\ \
|
2023-10-04 01:04:22 +01:00
|
|
|
\%XMonadLog%\
|
2022-10-31 21:00:11 +00:00
|
|
|
\}\
|
|
|
|
\%date%\
|
2022-11-05 16:22:05 +00:00
|
|
|
\<hspace=20/>\
|
2022-11-01 01:42:12 +00:00
|
|
|
\{\
|
|
|
|
\Playing: %mpris2%\
|
|
|
|
\ \
|
|
|
|
\|\
|
2022-10-31 21:00:11 +00:00
|
|
|
\ \
|
2023-10-13 10:27:49 +01:00
|
|
|
\%updates%\
|
|
|
|
\ \
|
|
|
|
\ \
|
2022-10-31 21:00:11 +00:00
|
|
|
\%memory%\
|
|
|
|
\ \
|
|
|
|
\ \
|
|
|
|
\%cpu%\
|
|
|
|
\ \
|
|
|
|
\ \
|
2022-11-05 16:22:05 +00:00
|
|
|
\%disk%\
|
|
|
|
\ \
|
2022-10-31 21:00:11 +00:00
|
|
|
\ \
|
2022-11-01 00:48:17 +00:00
|
|
|
\%battery%\
|
2022-10-31 21:00:11 +00:00
|
|
|
\|\
|
|
|
|
\%trayerpad%"
|
|
|
|
}
|