From d75a3c61c48760d3e4bc6db2a7d0b2f9a36d126a Mon Sep 17 00:00:00 2001 From: BZ Date: Fri, 5 Mar 2021 12:28:19 +0100 Subject: [PATCH] fix indendation --- README.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 148f652..1bea05e 100644 --- a/README.md +++ b/README.md @@ -194,20 +194,19 @@ It is possible to use `smart_borders` features in other modules by emitting sign E.g. you might want add the rightclick menu to your tasklist: ``` - -- @TASKLIST_BUTTON@ - -- Create a tasklist widget - s.mytasklist = awful.widget.tasklist { - screen = s, - filter = awful.widget.tasklist.filter.currenttags, - buttons = { - awful.button({ }, 1, function(c) - c:activate { context = "tasklist", action = "toggle_minimization" } - end), - awful.button({ }, 3, function(c) - c:emit_signal("smart_borders::right_click") - end), - } +-- @TASKLIST_BUTTON@ +-- Create a tasklist widget +s.mytasklist = awful.widget.tasklist { + screen = s, + filter = awful.widget.tasklist.filter.currenttags, + buttons = { + awful.button({}, 1, function(c) + c:activate{context = "tasklist", action = "toggle_minimization"} + end), awful.button({}, 3, function(c) + c:emit_signal("smart_borders::right_click") + end) } +} ```