fix indendation
This commit is contained in:
parent
792b0b9480
commit
d75a3c61c4
25
README.md
25
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:
|
E.g. you might want add the rightclick menu to your tasklist:
|
||||||
|
|
||||||
```
|
```
|
||||||
-- @TASKLIST_BUTTON@
|
-- @TASKLIST_BUTTON@
|
||||||
-- Create a tasklist widget
|
-- Create a tasklist widget
|
||||||
s.mytasklist = awful.widget.tasklist {
|
s.mytasklist = awful.widget.tasklist {
|
||||||
screen = s,
|
screen = s,
|
||||||
filter = awful.widget.tasklist.filter.currenttags,
|
filter = awful.widget.tasklist.filter.currenttags,
|
||||||
buttons = {
|
buttons = {
|
||||||
awful.button({ }, 1, function(c)
|
awful.button({}, 1, function(c)
|
||||||
c:activate { context = "tasklist", action = "toggle_minimization" }
|
c:activate{context = "tasklist", action = "toggle_minimization"}
|
||||||
end),
|
end), awful.button({}, 3, function(c)
|
||||||
awful.button({ }, 3, function(c)
|
c:emit_signal("smart_borders::right_click")
|
||||||
c:emit_signal("smart_borders::right_click")
|
end)
|
||||||
end),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue