Set at least one tag on screen where there is no one, use no screen option in [tag] sections in default config (= screen = -1, tag on each screen)
This commit is contained in:
parent
545b1a2a7e
commit
682bbeea89
@ -161,6 +161,11 @@ config_tag(void)
|
|||||||
tag_new(s, name);
|
tag_new(s, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If no tag at all on a screen, add one anyway */
|
||||||
|
SLIST_FOREACH(s, &W->h.screen, next)
|
||||||
|
if(TAILQ_EMPTY(&s->tags))
|
||||||
|
tag_new(s, "tag");
|
||||||
|
|
||||||
free(ks);
|
free(ks);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
19
wmfsrc
19
wmfsrc
@ -71,13 +71,18 @@
|
|||||||
|
|
||||||
[tags]
|
[tags]
|
||||||
|
|
||||||
[tag] screen = 0 name = "1" [/tag]
|
# Use no screen option or screen = -1 to set tag on each screen
|
||||||
[tag] screen = 0 name = "2" [/tag]
|
[tag]
|
||||||
[tag] screen = 0 name = "3" [/tag]
|
screen = -1
|
||||||
[tag] screen = 0 name = "4" [/tag]
|
name = "1"
|
||||||
[tag] screen = 0 name = "5" [/tag]
|
[/tag]
|
||||||
[tag] screen = 0 name = "6" [/tag]
|
|
||||||
[tag] screen = 0 name = "7" [/tag]
|
[tag] name = "2" [/tag]
|
||||||
|
[tag] name = "3" [/tag]
|
||||||
|
[tag] name = "4" [/tag]
|
||||||
|
[tag] name = "5" [/tag]
|
||||||
|
[tag] name = "6" [/tag]
|
||||||
|
[tag] name = "7" [/tag]
|
||||||
|
|
||||||
# Mousebinds associated to Tags element button
|
# Mousebinds associated to Tags element button
|
||||||
[mouse] button = "1" func = "tag_click" [/mouse]
|
[mouse] button = "1" func = "tag_click" [/mouse]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user