general update

This commit is contained in:
2024-12-01 12:30:15 -05:00
parent 8449f01612
commit a22fb4cd71
6 changed files with 42 additions and 22 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ]; then
echo "vol: mute"
else
echo "vol: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{printf "%s", substr($5, 1, length($5) - 1)}')"
fi