dotfiles/home/private_dot_config/eww/bin/executable_check-arch-updates.sh

12 lines
255 B
Bash
Raw Normal View History

2024-01-22 06:28:52 -06:00
#!/bin/sh
#source https://github.com/x70b1/polybar-scripts
#source https://github.com/polybar/polybar-scripts
if ! updates_arch=$(checkupdates 2>/dev/null | wc -l); then
updates_arch=0
fi
if [ $updates_arch -gt 0 ]; then
echo "Arch: $updates_arch"
fi