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)'