Switch completely to Gio for icons and it fixed the startup/lookup time for icons. Now works with every icon theme. Taglist/Tasklist/Window switcher still rely on WM_CLASS and WM_NAME to match the icon name, this probably can't be fixed in a sane way
This commit is contained in:
@@ -48,8 +48,6 @@ return function()
|
||||
{ -- Icon
|
||||
valign = "center",
|
||||
halign = "center",
|
||||
--[[ image = xdg_icon_lookup:find_icon(Gio.DesktopAppInfo.get_string(desktop_app_info, "Icon"), 64) or
|
||||
awful.util.getdir("config") .. "src/assets/icons/fallback.svg", -- fallback icon ]]
|
||||
image = Get_gicon_path(app_info.get_icon(app)),
|
||||
resize = true,
|
||||
widget = wibox.widget.imagebox
|
||||
|
||||
Reference in New Issue
Block a user