diff --git a/waybar/waybar-fedora-silverblue.sh b/waybar/waybar-fedora-silverblue.sh index 029c419..5c132cf 100755 --- a/waybar/waybar-fedora-silverblue.sh +++ b/waybar/waybar-fedora-silverblue.sh @@ -2,7 +2,7 @@ COUNT=0 function count() { - RESULTS="`rpm-ostree upgrade --check 2> /dev/null | grep 'rpm-md repo' | cut -d: -f3`;" + RESULTS="`rpm-ostree upgrade --check 2> /dev/null | grep Diff: | sed 's/.*\([0-9][0-9]*\).*/\1/'`" COUNT=0 for i in $RESULTS; do i=`echo $i | sed 's/;//'`