diff --git a/.config/xmobar/xmobarrc b/.config/xmobar/xmobarrc
index bc9623e..2907b2c 100644
--- a/.config/xmobar/xmobarrc
+++ b/.config/xmobar/xmobarrc
@@ -41,6 +41,10 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h
, Run Com "echo" ["\xf0f3"] "bell" 3600
-- Check for pacman updates (script found in .local/bin)
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
+ -- Echos a "battery" icon in front of the pacman updates.
+ , Run Com "echo" ["\xf242"] "baticon" 3600
+ -- Battery
+ , Run BatteryP ["BAT0"] ["-t", " (%)"] 360
-- Time and date
, Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
@@ -50,5 +54,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:h
]
, sepChar = "%"
, alignSep = "}{"
- , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %date% %trayerpad%"
+ , template = " | %UnsafeStdinReader% }{ %penguin% %kernel% %cpu% %memory% %disku% %uparrow% %uptime% %bell% %pacupdate% %baticon% %battery% %date% %trayerpad%"
}