mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
14 lines
317 B
Bash
Executable File
14 lines
317 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Clean up the voxtype --follow child when Waybar reloads
|
|
|
|
trap 'kill 0' EXIT
|
|
|
|
if omarchy-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
|