README for the hotkey instructions for the logout-popup-widget were
referencing a non-existent location.
This commit is contained in:
parent
31ac43703d
commit
fb0542c098
|
@ -28,11 +28,11 @@ Then
|
|||
- to show by a shortcut - define a shortcut in `globalkeys`:
|
||||
|
||||
```lua
|
||||
local logout = require("awesome-wm-widgets.experiments.logout-widget.logout")
|
||||
local logout_popup = require("awesome-wm-widgets.logout-popup-widget.logout-popup")
|
||||
...
|
||||
globalkeys = gears.table.join(
|
||||
...
|
||||
awful.key({ modkey }, "l", function() logout.launch() end, {description = "Show logout screen", group = "custom"}),
|
||||
awful.key({ modkey }, "l", function() logout_popup.launch() end, {description = "Show logout screen", group = "custom"}),
|
||||
```
|
||||
|
||||
- to show by clicking on a widget in wibar - add widget to the wibar:
|
||||
|
|
|
@ -59,7 +59,8 @@ local function create_button(icon_name, action_name, color, onclick, icon_size,
|
|||
return button
|
||||
end
|
||||
|
||||
local function launch(args)
|
||||
local function launch(user_args)
|
||||
local args = user_args or {}
|
||||
|
||||
local bg_color = args.bg_color or beautiful.bg_normal
|
||||
local accent_color = args.accent_color or beautiful.bg_focus
|
||||
|
|
Loading…
Reference in New Issue