1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-23 07:21:58 +01:00
eoli3n-dotfiles/roles/polybar/files/pkg.sh
2017-12-19 20:48:41 +01:00

10 lines
160 B
Bash
Executable File

#!/bin/bash
pac=$(checkupdates | wc -l)
aur=$(cower -u | wc -l)
check=$((pac + aur))
if [[ "$check" != "0" ]]
then
echo "$pac %{F#5b5b5b}%{F-} $aur"
fi