From c2a7908254ac242006bb93782ea9bcc88d1aa0d7 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sat, 22 Feb 2020 13:40:18 -0500 Subject: [battery-widget] rename notification parameter to dispay_notification --- battery-widget/README.md | 2 +- battery-widget/battery.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'battery-widget') diff --git a/battery-widget/README.md b/battery-widget/README.md index d5eb233..d58c420 100644 --- a/battery-widget/README.md +++ b/battery-widget/README.md @@ -26,7 +26,7 @@ It is possible to customize widget by providing a table with all or some of the | `show_current_level`| false | Show current charge level | | `margin_right`|0| The right margin of the widget| | `margin_left`|0| The left margin of the widget| -| `notification` | `false` | Display a notification on mouseover | +| `display_notification` | `false` | Display a notification on mouseover | | `notification_position` | `top_right` | The notification position | | `warning_msg_title` | _Huston, we have a problem_ | Title of the warning popup | | `warning_msg_text` | _Battery is dying_ | Text of the warning popup | diff --git a/battery-widget/battery.lua b/battery-widget/battery.lua index b1a322c..b47794d 100644 --- a/battery-widget/battery.lua +++ b/battery-widget/battery.lua @@ -31,7 +31,7 @@ local function worker(args) local margin_left = args.margin_left or 0 local margin_right = args.margin_right or 0 - local display_notification = args.notification or false + local display_notification = args.display_notification or false local position = args.notification_position or "top_right" local warning_msg_title = args.warning_msg_title or 'Huston, we have a problem' -- cgit v1.2.3