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

No way to get current bindmode with swaymsg #3941

Open
A-Cloud-Ninja opened this issue Mar 20, 2019 · 6 comments
Open

No way to get current bindmode with swaymsg #3941

A-Cloud-Ninja opened this issue Mar 20, 2019 · 6 comments
Labels
enhancement New feature or incremental improvement

Comments

@A-Cloud-Ninja
Copy link

Currently with swaymsg (unless i'm blind) there is no way of getting the current bindmode without waiting for events

swaymsg -rt get_binding_modes only returns an array of the configured bindmodes.

@emersion
Copy link
Member

Does i3 have a way to do this?

@emersion emersion added the enhancement New feature or incremental improvement label Mar 20, 2019
@A-Cloud-Ninja
Copy link
Author

I'm actually not sure to be honest. I would hinge my bets and say, no, which is why this is more of a feature request than anything in the long run.

@emersion
Copy link
Member

Original i3 issue: i3/i3#2711

Would be nice to explain your use-case there.

@A-Cloud-Ninja
Copy link
Author

See bars being built like this

They have a bindmode plugin, which currently show nothing in the bindmode until you cue a bindmode event.

It's a quality of life change, not needed but would be nice to have.

@emersion
Copy link
Member

But initially there's no binmode right?

@A-Cloud-Ninja
Copy link
Author

At initialization of sway, sure, but if the bar restarts while you're in a bindmode, it can't get that to display properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or incremental improvement
Development

No branches or pull requests

2 participants