This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/home/.config/polybar/scripts/pkg.sh
2017-10-16 12:38:02 -07:00

12 lines
141 B
Bash
Executable File

#!/usr/bin/env bash
pac=$(checkupdates | wc -l)
if [[ "$pac" > "1" ]]; then
echo %{F#6BA4E7}$pac %{F#6BA4E7}
else
echo  
fi