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

externalize workspace buttons #22

Open
quantenzitrone opened this issue Jan 29, 2024 · 1 comment
Open

externalize workspace buttons #22

quantenzitrone opened this issue Jan 29, 2024 · 1 comment

Comments

@quantenzitrone
Copy link

First of all, thanks for making this, it is amazing, and I love to be able to use my i3status-rs config outside of sway.

I'm not sure, but I think all, the workspace button logic can be done through the i3bar protocol.
So one simple approach would be making the same i3bar protocol we have on the right also for the left.
To make this work, we would also need to create such a workspace button generator for river and hyprland.
Maybe i3status-rs will add workspace modules once this works.

@MaxVerevkin
Copy link
Owner

There is actually a specialized protocol in i3-bar for that: i3/i3#4311, but it is one-way (the script streams json, but does not receive any events) and effectively only works for i3/sway.

Using the same protocol for both right and left parts of the bar seems doable and reasonable, I just didn't have a use for that.

By the way, I'm open to supporting more compositors/wms if that is your use case.

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

No branches or pull requests

2 participants