From 76a05e6d84fde59889a8cef1408df09dbe206461 Mon Sep 17 00:00:00 2001 From: Dan Head Date: Sat, 18 Nov 2017 16:30:44 +0000 Subject: [PATCH] Add pacman updates module to polybar --- polybar/config | 10 +++++++++- polybar/scripts/pacman.sh | 5 +++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 polybar/scripts/pacman.sh diff --git a/polybar/config b/polybar/config index 148bb4b..de7346a 100644 --- a/polybar/config +++ b/polybar/config @@ -68,7 +68,7 @@ module-margin = 4 font-0 = fixed:pixelsize=10;2 font-1 = FontAwesome:pixelsize=10;2 -modules-left = i3 bitcoin +modules-left = i3 pacman bitcoin modules-right = filesystem [module/bspwm] @@ -259,3 +259,11 @@ bar-used-foreground-4 = ${colors.ramp-4} bar-used-foreground-5 = ${colors.ramp-5} bar-used-foreground-6 = ${colors.ramp-6} bar-used-foreground-7 = ${colors.ramp-7} + +[module/pacman] +type = custom/script +interval = 1800 +format =