11 lines
255 B
Bash
11 lines
255 B
Bash
#!/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
|