From 5fe15aeef40d058e093d2036c4ffee9ec4e56e6b Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 11 Dec 2018 17:00:04 +0100 Subject: [PATCH] Always display update to update widget, list glibc as reboot Signed-off-by: Knut Ahlers --- .config/i3blocks/arch-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3blocks/arch-update b/.config/i3blocks/arch-update index 8467e15..da8e7f1 100755 --- a/.config/i3blocks/arch-update +++ b/.config/i3blocks/arch-update @@ -2,6 +2,7 @@ set -euo pipefail req_restart_prefix=( + glibc linux systemd ) @@ -16,7 +17,6 @@ function get_grep() { updates=$(checkupdates) num=$(echo "${updates}" | grep -c -- '->') -[ $num -gt 0 ] || exit req_restart="" echo "${updates}" | grep -qE "^($(get_grep)) " && req_restart=' (reboot)'