diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-16 22:57:58 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-16 23:58:05 +0200 |
commit | 7d568cb97f41ef027a834e1252c0703c52cdd050 (patch) | |
tree | fd3af393791a1840b2c8bf300d2f0a472156e554 /.config/polybar/config.ini | |
parent | 378313e07bf819379cbbea96267c97592f3eab64 (diff) |
polybar: show # of pacman and AUR updates
Diffstat (limited to '.config/polybar/config.ini')
-rw-r--r-- | .config/polybar/config.ini | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index fce776b..8a2b759 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -39,12 +39,12 @@ module-margin-right = 2 padding-right = 1 font-0 = Averia Libre:style=bold:size=15;3.8 -font-1 = Font Awesome 5 Free Regular:size=14;4.5 -font-2 = Font Awesome 5 Free Solid:size=14;4.5 +font-1 = Font Awesome 5 Free Solid:size=14;4.5 +font-2 = Font Awesome 5 Free Regular:size=14;4.5 modules-left = i3 modules-center = -modules-right = xkeyboard pulseaudio date +modules-right = updates-pacman-aurhelper xkeyboard pulseaudio date tray-maxsize = 25 tray-position = right @@ -191,6 +191,12 @@ label-muted-foreground = #999 label-muted-background = ${colors.background-module} +[module/updates-pacman-aurhelper] +type = custom/script +exec = /home/adam/.config/polybar/extra/updates-pacman-aurhelper.sh +interval = 600 +format-foreground = ${root.foreground} +; format-background = ${colors.background-module} [settings] screenchange-reload = true |