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 Request] Add exceptions list for auto-tiling #200

Open
eToThePiIPower opened this issue Nov 20, 2024 · 2 comments
Open

[Feature Request] Add exceptions list for auto-tiling #200

eToThePiIPower opened this issue Nov 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@eToThePiIPower
Copy link

I would like to add specific windows (by e.g. WM_CLASS) to an exceptions list to exclude them from auto-tiling. It seems some window types are already included by default, but these aren't extensible via the settings and I've found some specific applications where auto-tiling causes problems.

I use a pop-up terminal (specifically, Guake) for much of my work in the shell. Under normal conditions, I have it set to open from the bottom of the screen overlaying the rest of my windows, taking up the full width and ~40% of the vertical height of the monitor. With tiling-shell's auto-tile enabled, it gets tiled like any other window—which is definitely not what I want.

Ideally, I would be able to to add a list of exceptions to the auto-tiling (such as by WM_CLASS), with an "eyedrop" picker to pick the windows to add to the exception list.

@eToThePiIPower
Copy link
Author

I was able to apply a quick hack directly to my extension.js at line 3392 to fix the problem for me - temporarily at least:

if (window.get_wm_class() == "Guake")
  return;

I haven't dived into the typescript source yet, and this obviously isn't user extensible via the settings, but it does do the job. I'll take a deeper dive over the next few days to see if I can get something more polished working.

@domferr
Copy link
Owner

domferr commented Nov 22, 2024

Hey thank you for this suggestion and I love you gave it a try! I agree with you this is a must-have, hope to implement 🔜
If you think to work on this please let me know, so we don't duplicate any efforts ❤️

@domferr domferr added the enhancement New feature or request label Nov 22, 2024
@domferr domferr changed the title Add exceptions list for auto-tiling [Feature Request] Add exceptions list for auto-tiling Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants