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

Add "workspaces per monitor" setting #782

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

dotaxis
Copy link
Contributor

@dotaxis dotaxis commented Feb 19, 2025

When using zero-based workspaces, workspaces are incorrectly mapped if there are empty workspaces before active ones.

For example, in this screenshot I am actually on workspace 6, but since workspaces 2-5 are empty, HyprPanel shows that I'm on workspace 2.
image

This PR adds an option to specify how many workspaces should be on each monitor to remedy this. It defaults to 10.
image

I have only tested this on 2 monitors because that's all I have. The math may need to be tweaked to support more monitors.

@dotaxis
Copy link
Contributor Author

dotaxis commented Feb 23, 2025

This should now work when there are a different numbers of of static workspaces used per monitor. Could use some additional testing on other configurations.

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.

2 participants