summaryrefslogtreecommitdiff
path: root/examples/lua/simple-bar
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-12-21 21:25:29 +0100
committerAylur <[email protected]>2024-12-21 21:25:29 +0100
commite0a6b7fc5ae38f13e5c110956bb94ac3b41bfb14 (patch)
treeaebfe3e620372efdd595f6479268bc551e4c519a /examples/lua/simple-bar
parentfcef5cea5ca84fa06a74e69de34e84b4d0842fcc (diff)
parent0507a6bf1035ddbe72fdb64c0fb5dc1c991faeaf (diff)
Merge branch 'main' into feat/wayland-glib
Diffstat (limited to 'examples/lua/simple-bar')
-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 ""