diff --git a/home-manager/progs/eww/config/scripts/sound/getSink.sh b/home-manager/progs/eww/config/scripts/sound/getSink.sh index 8719a32..b27a089 100755 --- a/home-manager/progs/eww/config/scripts/sound/getSink.sh +++ b/home-manager/progs/eww/config/scripts/sound/getSink.sh @@ -1,2 +1,2 @@ #!/usr/bin/env sh -wpctl inspect @DEFAULT_SINK@ | rg "node.description" | cut -d' ' -f6- +wpctl inspect @DEFAULT_SINK@ | grep -E "^ +\* node\.description" | cut -d' ' -f6- | tr -d '"'