mirror of https://github.com/polybar/polybar.git
fix(volume): Unit testing would be nice
This commit is contained in:
parent
89a476e94c
commit
a410e182a9
|
@ -219,7 +219,7 @@ bool VolumeModule::handle_command(const std::string& cmd)
|
|||
if (master_mixer != nullptr)
|
||||
master_mixer->toggle_mute();
|
||||
if (other_mixer != nullptr)
|
||||
other_mixer->set_mute(master_mixer->is_muted());
|
||||
other_mixer->set_mute(!master_mixer->is_muted());
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue