1#!/usr/bin/env zsh
2
3STATUS=$(curl -s http://localhost:9842/status)
4
5case "$STATUS" in
6 idle) ICON="" ;;
7 recording) ICON="๎
" ;;
8 processing) ICON=" " ;;
9 transcribing) ICON="๓ฐ" ;;
10 *) ICON="๏" ;;
11esac
12
13echo "{\"text\":\"$ICON\"}"
14
15
16