
new file: bspwm/bspwmrc new file: neofetch/config.conf new file: nvim/init.vim new file: polybar/config new file: polybar/launch.sh new file: polybar/scripts/bat_toggle.sh new file: polybar/scripts/brightnessctl.sh new file: polybar/scripts/bt-status.sh new file: polybar/scripts/coins.svg new file: polybar/scripts/openvpn-status.sh new file: polybar/scripts/pcrypto.py new file: polybar/scripts/pulseaudio-control.bash new file: polybar/scripts/spotify_status.py new file: polybar/scripts/xbps-updates.sh new file: polybar/scripts/xbps-updates.sh.bkp
10 lines
157 B
Bash
Executable File
10 lines
157 B
Bash
Executable File
#!/bin/sh
|
|
|
|
updates=$(xbps-install -Mun 2> /dev/null | wc -l)
|
|
|
|
if [ -n "$updates" ] && [ "$updates" -gt 0 ]; then
|
|
echo " $updates"
|
|
else
|
|
echo ""
|
|
fi
|