From c003f7ba78e2360d1e1754c9b68a4cec24e3ada2 Mon Sep 17 00:00:00 2001 From: sudo-nice Date: Sat, 4 Feb 2017 18:13:12 +0400 Subject: [PATCH] doc: mention to select a tag on awful.tag.add (#1520) Ref: https://github.com/awesomeWM/awesome/issues/1509#issuecomment-276941061. --- objects/tag.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/objects/tag.c b/objects/tag.c index 47939cb5..f8bf7874 100644 --- a/objects/tag.c +++ b/objects/tag.c @@ -46,6 +46,7 @@ * gap_single_client = true, * gap = 15, * screen = s, + * selected = true, * }) * * awful.tag.add("Second tag", { @@ -54,6 +55,9 @@ * screen = s, * }) * + * Note: the example above sets "First tag" to be selected explicitly, + * because otherwise you will find yourself without any selected tag. + * * **Accessing tags**: * * To access the "current tags", use