mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-27 19:02:47 +01:00
feat(nix): named workspace rules and cleared rules are in the shared scenario
The shared rules scenario sends a window by the name of a workspace, checks that a rule that is not initial is applied again when a window opens, and that the daemon's global state has no rule after clear-all-workspace-rules. The KDE extras keep the desktop numbers.
This commit is contained in:
1 parent
f2a5c234e1
commit
19c71eef9e
6 files changed
+87
-30
No files matched your search
@@ -122,10 +122,10 @@ keeps the part that is KWin's: a workspace is a virtual desktop.
|
||||
| 1, it is on the parking desktop while desktop 1 shows; on desktop 2 once shown, not parked; tiled where asked | extra `desktops` |
|
||||
| 1, the other window is where it opened (desktop 1) | extra `desktops` |
|
||||
| 2, the user takes the window back; an initial rule does not send it again | shared `rules` |
|
||||
| 2, a rule by the name of a workspace (`chat`) sends a window; desktop 3 when shown | extra `named_rule` (the shared scenarios use indexes) |
|
||||
| 2, a new window is an event that applies the rules again | extra `named_rule` (a candidate for the shared `rules`) |
|
||||
| 2, a rule by the name of a workspace (`chat`) sends a window; desktop 3 when shown | shared `rules` (the window goes to the named workspace); extra `named_rule` (parked, desktop 3) |
|
||||
| 2, a new window is an event that applies the rules again | shared `rules` (a window that opens sends the named-rule window back) |
|
||||
| 2, `enforce-workspace-rules` sends the initial rule's window again | shared `rules` |
|
||||
| 3, the rules are cleared; a window that opens stays on the workspace in front | shared `rules`; extra `cleared` (the daemon's global state has no rule; desktop of the new window) |
|
||||
| 3, the rules are cleared; a window that opens stays on the workspace in front | shared `rules` (also: the daemon's global state has no rule); extra `cleared` (desktop of the new window) |
|
||||
| 4, a `komorebi.json` rule, with a window open before the daemon | shared `startup_rules` |
|
||||
|
||||
The extras open windows of their own and close them, so that the shared scenarios start from a
|
||||
|
||||
Reference in new issue
Block a user