summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Makhov <pmakhov@theoctavegroup.com>2019-12-24 20:37:20 -0500
committerPavel Makhov <pmakhov@theoctavegroup.com>2019-12-24 20:37:20 -0500
commit7176cf38c2e6959fc50cccf55216d183eca7e691 (patch)
tree54a9c61f63a1569ab54ccce5fd8b87467616405c
parentfedea487b637f4cf4cd8dd3ac7b57ff168051a59 (diff)
remove unused method set_value from widget
-rw-r--r--batteryarc-widget/batteryarc.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/batteryarc-widget/batteryarc.lua b/batteryarc-widget/batteryarc.lua
index 7a7109f..0078164 100644
--- a/batteryarc-widget/batteryarc.lua
+++ b/batteryarc-widget/batteryarc.lua
@@ -56,10 +56,7 @@ local function worker(args)
forced_width = 18,
bg = "#ffffff11",
paddings = 2,
- widget = wibox.container.arcchart,
- set_value = function(self, value)
- self.value = value
- end,
+ widget = wibox.container.arcchart
}
local last_battery_check = os.time()