Make show_marks configurable

Introduce a config directive "show_marks [yes|no]" to en- or disable drawing marks on window decorations.
To not change the look & feel of existing configurations, the default is "no".
This commit is contained in:
Ingo Bürk
2015-03-29 00:26:49 +01:00
parent 2af1a80028
commit 245a29e233
7 changed files with 41 additions and 6 deletions

View File

@ -1006,6 +1006,24 @@ focus::
none::
The window will neither be focused, nor be marked urgent.
=== Drawing marks on window decoration
If activated, marks on windows are drawn in their window decoration. However,
any mark starting with an underscore in its name (+_+) will not be drawn even if
this option is activated.
The default for this option is +no+.
*Syntax*:
-------------------
show_marks [yes|no]
-------------------
*Example*:
--------------
show_marks yes
--------------
== Configuring i3bar
The bar at the bottom of your monitor is drawn by a separate process called
@ -1886,6 +1904,8 @@ The additional +--toggle+ option will remove the mark if the window already has
this mark, add it if the window has none or replace the current mark if it has
another mark.
Refer to +show_marks+ if you want marks to be shown in the window decoration.
*Syntax*:
------------------------------
mark [--toggle] identifier