main
59c7d64 ยท 8 days ago 139 commits
 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