Originally created by @tsingakbar on GitHub (Nov 17, 2022).
Is your feature request related to a problem? Please describe.
For users not enthusiastic to dynamic tilling every window, to be able making windows unmanaged by default is really useful.
Describe the solution you'd like
Provide a toggle to make windows unmanaged by default, and the user can use manage-rule to whitelist the windows who needs to be dynamic tiled.
; make all window unmanaged unless whitelisted with rulesRun,komorebic.exefloat-ruleclass"",,Hide; for whitelisting see komorebi/src/window.rs: must use same property(class here) to override float-rule
; whitelist vscodeRun,komorebic.exemanage-ruleclass"Chrome_WidgetWin_1",,Hide; whitelist firefoxRun,komorebic.exemanage-ruleclass"MozillaWindowClass",,Hide; whitelist windows terminalRun,komorebic.exemanage-ruleclass"CASCADIA_HOSTING_WINDOW_CLASS",,Hide
Originally created by @tsingakbar on GitHub (Nov 17, 2022).
**Is your feature request related to a problem? Please describe.**
For users not enthusiastic to dynamic tilling every window, to be able making windows unmanaged by default is really useful.
**Describe the solution you'd like**
Provide a toggle to make windows unmanaged by default, and the user can use `manage-rule` to whitelist the windows who needs to be dynamic tiled.
**Additional context**
I accomplished this somehow after digging into https://github.com/LGUG2Z/komorebi/blob/57b1bc1414bb6b339abc8167e50c30c49e2bbd06/komorebi/src/window.rs#L392 with autohotkey script like:
```autohotkey
; make all window unmanaged unless whitelisted with rules
Run, komorebic.exe float-rule class "", , Hide
; for whitelisting see komorebi/src/window.rs: must use same property(class here) to override float-rule
; whitelist vscode
Run, komorebic.exe manage-rule class "Chrome_WidgetWin_1", , Hide
; whitelist firefox
Run, komorebic.exe manage-rule class "MozillaWindowClass", , Hide
; whitelist windows terminal
Run, komorebic.exe manage-rule class "CASCADIA_HOSTING_WINDOW_CLASS", , Hide
```
This is a very practical way to achieve the desired effect! I don't think this is something that I will work on personally since the solution you have provided seems quite flexible, but I will leave the issue open if anyone would like to work on this; I'll be happy to accept a PR.
@LGUG2Z commented on GitHub (Jan 22, 2023):
This is a very practical way to achieve the desired effect! I don't think this is something that I will work on personally since the solution you have provided seems quite flexible, but I will leave the issue open if anyone would like to work on this; I'll be happy to accept a PR.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @tsingakbar on GitHub (Nov 17, 2022).
Is your feature request related to a problem? Please describe.
For users not enthusiastic to dynamic tilling every window, to be able making windows unmanaged by default is really useful.
Describe the solution you'd like
Provide a toggle to make windows unmanaged by default, and the user can use
manage-ruleto whitelist the windows who needs to be dynamic tiled.Additional context
I accomplished this somehow after digging into https://github.com/LGUG2Z/komorebi/blob/57b1bc1414bb6b339abc8167e50c30c49e2bbd06/komorebi/src/window.rs#L392 with autohotkey script like:
@LGUG2Z commented on GitHub (Jan 22, 2023):
This is a very practical way to achieve the desired effect! I don't think this is something that I will work on personally since the solution you have provided seems quite flexible, but I will leave the issue open if anyone would like to work on this; I'll be happy to accept a PR.
@LGUG2Z commented on GitHub (May 12, 2024):
Closing this out because upon reflection I don't think we'll be encouraging a whitelist approach