Skip to content

Add config option record_history - #917

Open
MyNameIsCosmo wants to merge 2 commits into
baskerville:masterfrom
MyNameIsCosmo:config-record_history
Open

Add config option record_history#917
MyNameIsCosmo wants to merge 2 commits into
baskerville:masterfrom
MyNameIsCosmo:config-record_history

Conversation

@MyNameIsCosmo

Copy link
Copy Markdown
Contributor

Fixes #909

This PR keeps the bspc wm -h <true/false> command, which now changes the record_history config value.

Additionally, you can call bspc config record_history <true/false> to toggle history recording.

Comment thread src/messages.c
GET_BOOL(remove_disabled_monitors)
GET_BOOL(remove_unplugged_monitors)
GET_BOOL(merge_overlapping_monitors)
GET_BOOL(record_history)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are using spaces for indentation here

Suggested change
GET_BOOL(record_history)
GET_BOOL(record_history)

Comment thread doc/bspwm.1
.PP
\fB\-h\fR, \fB\-\-record\-history\fR on|off
.RS 4
Enable or disable the recording of node focus history\&.

@emanuele6 emanuele6 Sep 6, 2020

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should edit the asciidoc file, not the man page directly: this change will be overwritten when the man page is recompiled with make doc.

@emanuele6

emanuele6 commented Sep 6, 2020

Copy link
Copy Markdown
Contributor

What's the point of this patch?
I guess it allows you to know if the history is being recorded with bspc config record_history, since it isn't currently possible to know if the history is being recorded: neither with bspc wm -h nor by parsing the output of bspc wm -d.

But what is the point of having both wm -h and the record_history setting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config option for ignore_history from bspc wm -h flag

2 participants