tags: specify layout in add_tag doc snippet (#1950)
Adding a tag without layout causes errors while using the tag. For example resizing with mouse causes indexing a null error.
This commit is contained in:
parent
05bd54bbb7
commit
c32096a311
|
@ -111,7 +111,9 @@
|
||||||
* Create a new tag at the end of the list
|
* Create a new tag at the end of the list
|
||||||
*
|
*
|
||||||
* local function add_tag()
|
* local function add_tag()
|
||||||
* awful.tag.add("NewTag",{screen= awful.screen.focused() }):view_only()
|
* awful.tag.add("NewTag", {
|
||||||
|
* screen = awful.screen.focused(),
|
||||||
|
* layout = awful.layout.suit.floating }):view_only()
|
||||||
* end
|
* end
|
||||||
*
|
*
|
||||||
* Rename the current tag
|
* Rename the current tag
|
||||||
|
|
Loading…
Reference in New Issue