Fix some more bugs related to the new icon implementation

This commit is contained in:
Rene
2022-08-03 04:19:42 +02:00
parent 2422b9a07f
commit 535c763a30
40 changed files with 152 additions and 263 deletions

View File

@@ -67,7 +67,7 @@ return function(battery_kind)
}
-- Color change on mouse over
Hover_signal(battery_widget, Theme_config.battery.bg, Theme_config.battery.fg)
Hover_signal(battery_widget)
-- Open an energy manager on click
battery_widget:connect_signal(
@@ -90,7 +90,7 @@ return function(battery_kind)
---Takes a path and returns the glib object
---@param path string battery device path
---@return UPowerGlib.Device battery battery device object
---@return UPowerGlib.Device | nil battery battery device object
local function get_device_from_path(path)
local devices = upower_glib.Client():get_devices()