Add pacman updates module to polybar
This commit is contained in:
5
polybar/scripts/pacman.sh
Executable file
5
polybar/scripts/pacman.sh
Executable 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"
|
||||
Reference in New Issue
Block a user