1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

change flatpak update waybar command

This commit is contained in:
eoli3n 2021-05-19 21:50:26 +02:00
parent 2213873159
commit 82045096ff

@ -18,7 +18,7 @@ pacman_check() {
xbps_check(){ xbps_check(){
pkg=$(xbps-install -SMnu 2>/dev/null) pkg=$(xbps-install -SMnu 2>/dev/null)
pkg_count=$(wc -l <<< "$pkg") pkg_count=$(wc -l <<< "$pkg")
flatpak_count=$(flatpak update | grep -E '^ *[0-9]+\.' | awk '{print $2}' | wc -l) flatpak_count=$(flatpak remote-ls --updates --columns=name | wc -l)
if [[ $pkg_count -eq "0" ]] && [[ $flatpak_count -eq "0" ]] if [[ $pkg_count -eq "0" ]] && [[ $flatpak_count -eq "0" ]]
then then