cfg/.config/i3blocks/arch-update
Knut Ahlers 4ae353dc51
Bring more color to the i3bar
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-12-03 15:22:12 +01:00

7 lines
139 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
u=$(checkupdates | wc -l)
[ $u -gt 0 ] || exit
printf "\uf94f %d %s" $u $(${HOME}/bin/pluralize Update $u)