-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wm): allow reapplying initial workspace rules
This commit adds the following new socket messages and commands: - `EnforceWorkspaceRules`: resets the `already_moved_window_handles` and calls `enforce_workspace_rules` so that all workspace rules, including initial workspace rules are applied again - `enforce-workspace-rules`: cli command which sends the EnforceWorkspaceRules socket message
- Loading branch information
Showing
3 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
692da90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the komorebi/src/process_command.rs the self.enforce_workspace_rules()?; expects a boolean I tried to build it in mine fork and I got this comp error:
error[E0061]: this method takes 1 argument but 0 arguments were supplied
--> komorebi\src\process_command.rs:412:22
|
412 | self.enforce_workspace_rules()?;
| ^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type
bool
is missing|
692da90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I backed out my implementation of this in favor of alex's implementation which didn't require changing the function signature. Try running
git fetch
andgit reset --hard origin/master
to get the latest commit with my initial changes backed out692da90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, now it works I had to go some commits back and merge again because I have an upstream remote branch but yeah it works now