setups my desktop environment from a debian netinst
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
229 B

#!/usr/bin/fish
amixer set Master toggle
set mutestatus (amixer sget Master | grep 'Mono:' | awk -F'[][]' '{ print $6 }')
if test "$mutestatus" = "on"
notify-send "audio active"
else
notify-send "audio muted"
end
exit