summaryrefslogtreecommitdiff
path: root/examples/lua
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2024-12-21 00:46:34 +0100
committerGitHub <[email protected]>2024-12-21 00:46:34 +0100
commitdafb191661d88c3182b6571461df56687ec90cdd (patch)
tree58bbf1f3018feea055ac84b44a1a27387465c548 /examples/lua
parentd7d11b341db85ce9768fa06b6f225d713621ec56 (diff)
astal3 icon: use Gtk Image's GIcon (#187)
Diffstat (limited to 'examples/lua')
-rw-r--r--examples/lua/simple-bar/widget/Bar.lua4
1 files changed, 2 insertions, 2 deletions
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 ""