Voxtype
This commit is contained in:
9
.local/bin/station-voxtype-status
Executable file
9
.local/bin/station-voxtype-status
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if station-cmd-present voxtype; then
|
||||||
|
voxtype status --follow --extended --format json | while read -r line; do
|
||||||
|
echo "$line" | jq -c '. + {alt: .class}'
|
||||||
|
done
|
||||||
|
else
|
||||||
|
echo '{"alt": "", "tooltip": ""}'
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user