1

i3status-anyevent: Actually check if simple-volume-pa enabled

This commit is contained in:
eleksir
2021-02-21 16:58:22 +03:00
parent 139b014f7b
commit 0d2453623c

View File

@@ -596,7 +596,7 @@ sub add_events () {
}
# poll pulseaudio volume on first sink in list
if ($CONF->{clock}->{enabled}) {
if ($CONF->{'simple-volume-pa'}) {
push @EP, AnyEvent->timer (
after => 0, # first invoke ASAP
interval => 1, # then invoke every 1 second