Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make stickiness configurable #4164

Closed
wants to merge 1 commit into from
Closed

Conversation

bbodi
Copy link
Contributor

@bbodi bbodi commented Oct 9, 2022

Fixes #1487 partially.

Allows config such as

[keys.normal.W]
sticky = true
I   = "vsplit"
E   = "hsplit"
...

@poliorcetics
Copy link
Contributor

This probably interacts with #3958 to fully complete #1487

@bbodi
Copy link
Contributor Author

bbodi commented Oct 10, 2022

This probably interacts with #3958 to fully complete #1487

Nice, unfortunately I haven't noticed it when I started my version.
As I can see it would be easier to extend #3958 with a simple

"label" => label = map.next_value::<&str>()?,
"sticky" => sticky= map.next_value::<bool>()?, // Add this

and then set the is_sticky field later accordingly.

So this one can be closed.

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.

Set command list's name and sticky bit in a config
3 participants