diff --git a/i3/i3status-rust/config.toml b/i3/i3status-rust/config.toml index 6429caa..563e95e 100644 --- a/i3/i3status-rust/config.toml +++ b/i3/i3status-rust/config.toml @@ -26,6 +26,11 @@ driver = "pulseaudio" max_vol = 100 format = " $icon{ $volume.eng(2)|} " +[[block.click]] +button = "left" +cmd = "pactl set-sink-mute '@DEFAULT_SINK@' toggle" +update = true + [[block]] block = "sound" driver = "pulseaudio" @@ -33,6 +38,11 @@ device_kind = "source" format = " $icon " reverse_levels = true +[[block.click]] +button = "left" +cmd = "pactl set-source-mute '@DEFAULT_SOURCE@' toggle" +update = true + [[block]] block = "net" format = " $icon{ $signal_strength|}{ $ssid | }"