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

[FEAT]: Add way to keep float/unmanaged for current session #1402

Closed
Pugsworth opened this issue Apr 4, 2025 · 2 comments
Closed

[FEAT]: Add way to keep float/unmanaged for current session #1402

Pugsworth opened this issue Apr 4, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@Pugsworth
Copy link

Eligibility

Individual Commercial Use License

Suggestion

There is both the option to force the active window to be float'ed or to unmanage it completely. However, if the window is closed and reopened (for example, child windows of an application), it goes back to being managed.
I suggest the ability to signal to Komorebi to not manage that window again for the current session.

This functionality slightly overlaps with the komorebic ignore-rule ... command, so I have a couple suggestions for how it could work. Commands for ignore could be duplicated/subbed for the float related commands.

  1. Add new command:
    komorebic toggle-ignore-rule

  2. Add an option to unmanage:
    komorebic unmanage --session
    komorebic toggle-float --session

  3. New command/add an option to ignore-rule:
    komorebic ignore-rule-active [title|exe|etc...]
    komorebic ignore-rule active
    komorebic ignore-rule --active
    etc..

One of my pain-points for Komorebi is when applications open child windows that I have no desire to be managed or tiled due to them being a message-type, dialog, or modal type of window. However, the process for figuring out the title, exe, or class for that widow is a massive distraction to whatever I'm working on. I can already utilize the unmanage and toggle-float commands, but many of these types of windows are opened repeatedly in a short time-span, which makes it increasingly frustrating.

Of course, I have the option for creating my own shell-script to find the active window, get whatever property, then issue the correct komorebic command to add a rule, but this feels like a feature that should be included.

Alternatives Considered

Checked to make sure both toggle-float and unmanage do not persist for the current session.
Currently in the process of writing a little shell script to automate this for the short-term.

@Pugsworth Pugsworth added the enhancement New feature or request label Apr 4, 2025
Copy link

github-actions bot commented Apr 4, 2025

Feature requests on this repository are only open to current GitHub sponsors on the $5/month tier and above, people with a valid individual commercial use license, and approved contributors.
This issue has been automatically closed until one of those pre-requisites can be validated.

@github-actions github-actions bot closed this as completed Apr 4, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2025
@LGUG2Z
Copy link
Owner

LGUG2Z commented Apr 4, 2025

@Pugsworth Can you drop me an email at the address listed on the licensing page from the email associated with your license so that I can verify your GitHub handle? I don't see your GitHub handle associated with an active license, but I do see a few active licenses without associated GitHub handles 👀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants