mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[FEAT]: Need a way to clear workspace rules #429
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @genotrance on GitHub (Jul 9, 2024).
Is your feature request related to a problem? Please describe.
I've setup a bunch of
workspace-ruleusing a script that reads a json containing a referencekomorebic state. This makes all my windows adapt to a new monitor layout. I have multiple json for the different setups I have to deal with.I would like move around a few windows and save as a new state json but it is not possible since those window moves contradict the workspace rules I have setup. The windows pop back into their original workspace per the rules and state is not updated.
Describe the solution you'd like
komrebicshould include the following commands, similar to theclear-workspace-layout-rulesand named variant:Clearing the rules should not change the existing state of the windows so that I can make any adjustments and then dump the state for later use.
Describe alternatives you've considered
Only alternative is to restart komorebi and then re-setup all windows how I want. For 15+ windows, this is very painful across the many states I have to maintain.
@LGUG2Z commented on GitHub (Jul 9, 2024):
Make sense, will try to sneak these in for the next release 🤞
@genotrance commented on GitHub (Jul 10, 2024):
Tested and works as expected.