diff options
author | Adam <adam.moloney.stuck@gmail.com> | 2022-05-16 22:57:58 +0200 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2022-05-17 08:33:58 +0200 |
commit | 090fc9be62886f307f674c3de2b267fb87ad3e2f (patch) | |
tree | 2f55771d0554fa284e61a4b769c0b3460649b03b /.config/polybar/config.ini | |
parent | 3512cdbce2ae61603a9573d54d82709ce277051d (diff) |
polybar: show # of pacman and AUR updates
Diffstat (limited to '.config/polybar/config.ini')
-rw-r--r-- | .config/polybar/config.ini | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 3e1cdd1..e81ad51 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -44,7 +44,7 @@ font-2 = Font Awesome 5 Free Solid:size=14;4.5 modules-left = i3 modules-center = -modules-right = xkeyboard pulseaudio battery date +modules-right = updates-pacman-aurhelper xkeyboard pulseaudio battery date tray-maxsize = 22 tray-position = right @@ -172,6 +172,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 |