eww: improve getSink.sh

This commit is contained in:
Simon Gardling 2025-09-17 13:09:28 -04:00
parent 0a53c6933e
commit 1cf86b8bd0
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -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 '"'