add aoife

This commit is contained in:
Vivian 2024-01-03 17:01:29 +01:00
parent 5e16312be4
commit 2106adca7b
27 changed files with 34 additions and 21 deletions

View file

@ -0,0 +1,15 @@
#!/bin/sh
per="$(pamixer --get-volume)"
if pamixer --get-mute | rg -q true; then
icon="婢"
elif [ "$per" -gt 66 ]; then
icon="墳" # high
elif [ "$per" -gt 33 ]; then
icon="奔" # med
else
icon="奄" #low
fi
printf "{\"icon\": \"${icon}\", \"percent\": \"${per}\"}"