mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 23:12:32 +01:00
updated pkg waybar module
This commit is contained in:
parent
a8fe344ad8
commit
d4cded238e
@ -17,7 +17,7 @@ pacman_check() {
|
||||
}
|
||||
|
||||
xbps_check(){
|
||||
xbps=$(xbps-install -SMnu 2>/dev/null)
|
||||
xbps=$(xbps-install -Mnu 2>/dev/null)
|
||||
if test -n "$xbps"; then xbps_count=$(wc -l <<< "$xbps"); else xbps_count="0"; fi
|
||||
flatpak=$(flatpak remote-ls --updates --columns=name)
|
||||
if test -n "$flatpak"; then flatpak_count=$(wc -l <<< "$flatpak"); else flatpak_count="0"; fi
|
||||
|
Loading…
Reference in New Issue
Block a user