From 2af3a4b0378854b3dfa86610fbdcb07566ec28a2 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Thu, 3 Sep 2020 11:14:31 -0400 Subject: Update README.md --- experiments/logout-widget/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'experiments/logout-widget') diff --git a/experiments/logout-widget/README.md b/experiments/logout-widget/README.md index e8a540a..24fec7a 100644 --- a/experiments/logout-widget/README.md +++ b/experiments/logout-widget/README.md @@ -47,9 +47,9 @@ Clone repo (if not cloned yet) under ~/.config/awesome, then | `accent_color` | `beautiful.bg_focus` | The color of the buttons | | `text_color` | `beautiful.fg_normal` | The color of text | | `phrases` | `{'Goodbye!'}` | The table with phrase(s) to show, if more than one provided, the phrase is chosen randomly | -| `onlogout` | function () awesome.quit() end | Function which is called when the logout button is pressed | +| `onlogout` | `function() awesome.quit() end` | Function which is called when the logout button is pressed | | `onlock` | | Function which is called when the lock button is pressed | | `onreboot` | | Function which is called when the reboot button is pressed | -| `onsuspend` | `function () awful.spawn.with_shell("systemctl suspend") end` | Function which is called when the suspend button is pressed | -| `onpoweroff` | `function () awful.spawn.with_shell("shutdown now") end` | Function which is called when the poweroff button is pressed | +| `onsuspend` | `function() awful.spawn.with_shell("systemctl suspend") end` | Function which is called when the suspend button is pressed | +| `onpoweroff` | `function() awful.spawn.with_shell("shutdown now") end` | Function which is called when the poweroff button is pressed | -- cgit v1.2.3