[battery-widget] rename notification parameter to dispay_notification
This commit is contained in:
parent
88e7d9ac99
commit
c2a7908254
|
@ -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 |
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue