From dafb191661d88c3182b6571461df56687ec90cdd Mon Sep 17 00:00:00 2001 From: kotontrion <141950090+kotontrion@users.noreply.github.com> Date: Sat, 21 Dec 2024 00:46:34 +0100 Subject: astal3 icon: use Gtk Image's GIcon (#187) --- examples/lua/simple-bar/widget/Bar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/lua/simple-bar') diff --git a/examples/lua/simple-bar/widget/Bar.lua b/examples/lua/simple-bar/widget/Bar.lua index 5e62253..e0d8b20 100644 --- a/examples/lua/simple-bar/widget/Bar.lua +++ b/examples/lua/simple-bar/widget/Bar.lua @@ -26,7 +26,7 @@ local function SysTray() return { "dbusmenu", ag } end), Widget.Icon({ - g_icon = bind(item, "gicon"), + gicon = bind(item, "gicon"), }), }) end) @@ -127,7 +127,7 @@ local function Workspaces() end) return map(wss, function(ws) - if !(ws.id >= -99 and ws.id <= -2) then -- filter out special workspaces + if not (ws.id >= -99 and ws.id <= -2) then -- filter out special workspaces return Widget.Button({ class_name = bind(hypr, "focused-workspace"):as(function(fw) return fw == ws and "focused" or "" -- cgit v1.2.3