Changed the default for show_marks from "no" to "yes"
This commit is contained in:
parent
245a29e233
commit
6036d4e506
|
@ -1012,7 +1012,7 @@ 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
|
any mark starting with an underscore in its name (+_+) will not be drawn even if
|
||||||
this option is activated.
|
this option is activated.
|
||||||
|
|
||||||
The default for this option is +no+.
|
The default for this option is +yes+.
|
||||||
|
|
||||||
*Syntax*:
|
*Syntax*:
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -1904,7 +1904,7 @@ 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
|
this mark, add it if the window has none or replace the current mark if it has
|
||||||
another mark.
|
another mark.
|
||||||
|
|
||||||
Refer to +show_marks+ if you want marks to be shown in the window decoration.
|
Refer to +show_marks+ if you don't want marks to be shown in the window decoration.
|
||||||
|
|
||||||
*Syntax*:
|
*Syntax*:
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
|
@ -1046,7 +1046,7 @@ void cmd_mark(I3_CMD, char *mark, char *toggle) {
|
||||||
owindow *current;
|
owindow *current;
|
||||||
TAILQ_FOREACH(current, &owindows, owindows) {
|
TAILQ_FOREACH(current, &owindows, owindows) {
|
||||||
DLOG("matching: %p / %s\n", current->con, current->con->name);
|
DLOG("matching: %p / %s\n", current->con, current->con->name);
|
||||||
current->con->mark_changed=true;
|
current->con->mark_changed = true;
|
||||||
if (toggle != NULL && current->con->mark && strcmp(current->con->mark, mark) == 0) {
|
if (toggle != NULL && current->con->mark && strcmp(current->con->mark, mark) == 0) {
|
||||||
DLOG("removing window mark %s\n", mark);
|
DLOG("removing window mark %s\n", mark);
|
||||||
FREE(current->con->mark);
|
FREE(current->con->mark);
|
||||||
|
|
|
@ -190,6 +190,8 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
|
||||||
INIT_COLOR(config.bar.unfocused, "#333333", "#222222", "#888888", "#000000");
|
INIT_COLOR(config.bar.unfocused, "#333333", "#222222", "#888888", "#000000");
|
||||||
INIT_COLOR(config.bar.urgent, "#2f343a", "#900000", "#ffffff", "#000000");
|
INIT_COLOR(config.bar.urgent, "#2f343a", "#900000", "#ffffff", "#000000");
|
||||||
|
|
||||||
|
config.show_marks = true;
|
||||||
|
|
||||||
config.default_border = BS_NORMAL;
|
config.default_border = BS_NORMAL;
|
||||||
config.default_floating_border = BS_NORMAL;
|
config.default_floating_border = BS_NORMAL;
|
||||||
config.default_border_width = logical_px(2);
|
config.default_border_width = logical_px(2);
|
||||||
|
|
Loading…
Reference in New Issue