mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
Update: Updated scripts, changed HDMI name.
This commit is contained in:
+1
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user