diff options
author | Aylur <[email protected]> | 2024-12-24 21:38:12 +0100 |
---|---|---|
committer | Aylur <[email protected]> | 2024-12-24 21:38:12 +0100 |
commit | 22ab42c2bb5532064d704931729ddba089dd7276 (patch) | |
tree | 6dcf003fd140f2023210b8554d08af34b0b9586c /examples/lua/simple-bar/widget/Bar.lua | |
parent | 27544705dfe77b50f919a166f06d5b96560dd2fd (diff) | |
parent | 3468763d51d389c67ec7b1a390ffa8a5328bddb6 (diff) |
Merge branch 'main' into feat/jsx-gtk4
Diffstat (limited to 'examples/lua/simple-bar/widget/Bar.lua')
-rw-r--r-- | examples/lua/simple-bar/widget/Bar.lua | 4 |
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 "" |