Files
dotfiles/.local/bin/station-voxtype-status

10 lines
224 B
Plaintext
Raw Permalink Normal View History

2026-03-08 17:14:04 +00:00
#!/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