1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-05-22 23:46:07 +02:00

fix xbps waybar module

This commit is contained in:
eoli3n 2021-05-13 22:45:36 +02:00
parent 1b10cba5ab
commit 25a4ad7b28
2 changed files with 2 additions and 2 deletions

2
TODO
View File

@ -21,4 +21,4 @@
# Voidlinux
- [x] waybar upgrade module with xbps-flatpak
- [ ] list xbps updates without need to xbps-install -S as root
- [x] list xbps updates without need to xbps-install -S as root

View File

@ -16,7 +16,7 @@ pacman_check() {
}
xbps_check(){
pkg=$(xbps-install -nu 2>/dev/null)
pkg=$(xbps-install -SMnu 2>/dev/null)
pkg_count=$(wc -l <<< "$pkg")
flatpak_count=$(flatpak update | grep -E '^ *[0-9]+\.' | awk '{print $2}' | wc -l)