Add pacman updates module to polybar

This commit is contained in:
2017-11-18 16:30:44 +00:00
parent 21866c38a5
commit 76a05e6d84
2 changed files with 14 additions and 1 deletions

5
polybar/scripts/pacman.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
pac=$(checkupdates 2> /dev/null | wc -l)
aur=$(cower -u 2> /dev/null | wc -l)
echo "$pac$aur"