From 79d710f064852e4d7282a3d856bfae8aa7e7f9e0 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 15 Sep 2018 12:35:04 -0500 Subject: [PATCH] Polybar: Add dpkg lock indicator --- .config/polybar/config | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.config/polybar/config b/.config/polybar/config index c814b313..7cb3715a 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -25,6 +25,8 @@ icon-network = ${xrdb:color14} icon-wm = ${xrdb:color12} icon-xbacklight = ${res/colors.primary} +notif-package = ${self.foreground-dark} + background = ${xrdb:background} background-alt = ${xrdb:color8} foreground = ${xrdb:color15} @@ -86,7 +88,7 @@ inherit = template/bar border-top-size = 0 -modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory} +modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory dpkg} modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER: bspwm} modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:xbacklight volume date} @@ -142,8 +144,19 @@ content-background = ${res/colors.border} type = custom/text content = " " +# NOTIFICATION +#==================== +[module/dpkg] +type = custom/script +format =