summaryrefslogtreecommitdiff
path: root/examples/lua
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-21 21:41:20 +0000
committerAylur <[email protected]>2024-09-21 21:41:20 +0000
commitdf8cc73f90371de2cc00f1eef63bb0f5e17d07b6 (patch)
tree79c4243e8cc4660cbb365f4fe0c0de9360a0bfe8 /examples/lua
parentf3762b9cc8e20620a058b1c46c478a9270295455 (diff)
examples: update battery widget to use battery_icon_name
closes #14
Diffstat (limited to 'examples/lua')
-rw-r--r--examples/lua/simple-bar/widget/Bar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lua/simple-bar/widget/Bar.lua b/examples/lua/simple-bar/widget/Bar.lua
index 56cb060..d44db2d 100644
--- a/examples/lua/simple-bar/widget/Bar.lua
+++ b/examples/lua/simple-bar/widget/Bar.lua
@@ -97,7 +97,7 @@ local function BatteryLevel()
class_name = "Battery",
visible = bind(bat, "is-present"),
Widget.Icon({
- icon = bind(bat, "icon-name"),
+ icon = bind(bat, "battery-icon-name"),
}),
Widget.Label({
label = bind(bat, "percentage"):as(function(p)