mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
fix xbps waybar module
This commit is contained in:
parent
1b10cba5ab
commit
25a4ad7b28
2
TODO
2
TODO
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user