From 963e6c87821aab1a604cbf6fbddc7a2815040992 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Mon, 31 Oct 2022 18:17:36 -0400 Subject: [PATCH] WIP silverblue update script --- waybar/waybar-fedora-silverblue.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/;//'`