Compare commits

..

2 Commits

Author SHA1 Message Date
188b93668c i3status-rust: Add mute/unmute on click 2022-12-16 20:26:48 +01:00
40ca67ebbb i3status-rust: Fix padding 2022-12-16 20:26:33 +01:00

View File

@@ -1,4 +1,4 @@
icons_format = "{icon}"
icons_format = " {icon} "
[icons]
icons = "awesome"
@@ -24,7 +24,12 @@ format = " $icon $combo $prev $play $next "
block = "sound"
driver = "pulseaudio"
max_vol = 100
format = " $icon {$volume.eng(2) |}"
format = " $icon{ $volume.eng(2)|} "
[[block.click]]
button = "left"
cmd = "pactl set-sink-mute '@DEFAULT_SINK@' toggle"
update = true
[[block]]
block = "sound"
@@ -33,9 +38,14 @@ 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 = " $signal_strength $ssid "
format = " $icon{ $signal_strength|}{ $ssid | }"
[[block]]
block = "load"