diff options
Diffstat (limited to 'home/config/i3')
| -rw-r--r-- | home/config/i3/bar/i3status.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/config/i3/bar/i3status.go b/home/config/i3/bar/i3status.go index 4627734..10f62d8 100644 --- a/home/config/i3/bar/i3status.go +++ b/home/config/i3/bar/i3status.go @@ -221,7 +221,7 @@ func main() { microphoneOffIcon := pango.Icon("mdi-microphone-off") microphoneIcon := pango.Icon("mdi-microphone") barista.Add(volume.New(pulseaudio.DefaultSource()).Output(func(v volume.Volume) bar.Output { - volume := v.Pct() / 10 // TODO: correct Pct implementation for sources + volume := v.Pct() // the value returned by the pulseaudio may be weird var icon *pango.Node if volume == 0 || v.Mute { icon = microphoneOffIcon |
