mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
updated module pkg waybar
This commit is contained in:
parent
c3a1f1b401
commit
40c0b061f2
@ -18,9 +18,9 @@ pacman_check() {
|
||||
|
||||
xbps_check(){
|
||||
xbps=$(xbps-install -SMnu 2>/dev/null)
|
||||
if test -n "$xbps"; then xbps_count=$(xbps-install -SMnu 2>/dev/null | wc -l); fi
|
||||
if test -n "$xbps"; then xbps_count=$(wc -l <<< "$xbps"); fi
|
||||
flatpak=$(flatpak remote-ls --updates --columns=name)
|
||||
if test -n "$flatpak"; then flatpak_count=$(flatpak remote-ls --updates --columns=name | wc -l); fi
|
||||
if test -n "$flatpak"; then flatpak_count=$(wc -l <<< "$flatpak"); fi
|
||||
|
||||
if test -z "$xbps_count" && test -z "$flatpak_count"; then exit; fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user