From 7ce340c4bb674f1d19254809ae33ec3676f63a92 Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 24 Apr 2022 09:10:20 -0700 Subject: [PATCH] Removed some stray code --- volume/volume.lua | 3 --- 1 file changed, 3 deletions(-) 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",