/ de-omarchy / bin / omarchy-voxtype-status
swadhinbiswas Initial de-omarchy: Omarchy UI layer for Arch-based distros · 8/22/2026
9f393b2
14 lines · 491 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# omarchy:summary=Stream voxtype --follow status as bar-friendly JSON

if omarchy-cmd-missing voxtype; then
  echo '{"alt": "", "class": "idle", "tooltip": ""}'
  exit 0
fi

# Keep the status follower as the direct child of the bar. Quickshell
# clean up their direct child when they restart; a shell pipeline/coproc would
# leave `voxtype status --follow` orphaned under the user systemd instance.
exec setpriv --pdeathsig TERM voxtype status --follow --extended --format json