From c3c41bed2f1d7d592b01423c4152c437d9ca0a69 Mon Sep 17 00:00:00 2001 From: "A.I" Date: Fri, 17 Jun 2022 23:17:50 +0800 Subject: [PATCH] pass tag icon directly to imagebox so that svg icons can be rendered with rsvg --- lib/awful/widget/taglist.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/awful/widget/taglist.lua b/lib/awful/widget/taglist.lua index e3f180ce5..b4843f66d 100644 --- a/lib/awful/widget/taglist.lua +++ b/lib/awful/widget/taglist.lua @@ -49,7 +49,6 @@ local common = require("awful.widget.common") local tag = require("awful.tag") local beautiful = require("beautiful") local fixed = require("wibox.layout.fixed") -local surface = require("gears.surface") local timer = require("gears.timer") local gcolor = require("gears.color") local gstring = require("gears.string") @@ -372,7 +371,7 @@ function taglist.taglist_label(t, args) end if not taglist_disable_icon then if t.icon then - icon = surface.load(t.icon) + icon = t.icon end end