I'm trying to look for a command that outputs
0 depending on whether I have my output muted.
I was trying this:
amixer sget Master
This is the output I get:
Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 64 [100%] [0.00dB] [on]
Now the values change here accordingly (if I decrease volume, the percentage and the dB values change). However, if I head into
Pavucontrol and mute my output on the 'Output devices' tab, the output of the command above stays the same. Literally nothing changes. But my sound indeed is muted.
What command should I use? Why doesn't that
[on] change to
[off]? Shouldn't it?
Thanks in advance.