diff --git a/volume/volume.lua b/volume/volume.lua index 6e8800a..e3239a3 100755 --- a/volume/volume.lua +++ b/volume/volume.lua @@ -58,10 +58,8 @@ function P:_update_widget() end self.widget:set_value(self.volume); - self.widget:set_state(self.muted) self.widget:set_tooltip("Volume " .. self.volume .. "%"); - if (self.muted) then self.widget:set_state("muted") else @@ -172,7 +170,6 @@ function P:new(args) pa_options = args.cli_options or "", pa_sink = args.pa_sink or "", update_interval = args.update_interal or 5, - enable_tooltip = args.enable_tooltip or true, max_value = args.max_value or 100, widget_type = args.widget_type or "arc",