Update: Updated scripts, changed HDMI name.

This commit is contained in:
Keyitdev
2022-06-22 19:31:34 +02:00
parent 09aedb8955
commit de5453b113
7 changed files with 58 additions and 17 deletions
+1 -2
View File
@@ -2,8 +2,7 @@
dir="/usr/local/bin/icons"
cur_vol=$(pactl list sinks | grep '^[[:space:]]Volume:' | \
head -n $(( SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,')
cur_vol=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master) | sed 's/%//g')
MUTE=$(pacmd list-sinks | awk '/muted/ { print $2 }' | head -1)
affirmative="yes"
negative="no"