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

Feature: Recalculate the geometry of the scratchpad when moving across monitors #62

Open
smitropoulos opened this issue Jan 23, 2024 · 0 comments

Comments

@smitropoulos
Copy link

Heya!

I have three monitors, one vertical and two horizontal (or landscape). When I launch my special workspace, I do it like this:

# ─[ Kitty on the scratchpad ]────────────────────────────────────────────
windowrulev2 = float, class:(kitty), title:(kitty_scratchpad)
windowrulev2 = workspace special silent,class:(kitty), title:(kitty_scratchpad)
windowrulev2 = center 1, class:(kitty), title:(kitty_scratchpad)
windowrulev2 = size 80% 80%, class:(kitty), title:(kitty_scratchpad)

This works for the two landscape monitors, but will not work for my horizontal one. When I try to bring the special workspace on in one of the two landscape monitors, it appears centered and 80% of both width and height. On the horizontal one, it bleeds to the monitor next to it.

Is there a way to recalculate the placement and size of the floating window?

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

1 participant