feat(wm): add additional manage rules

Following on from 8ffe6f78b7, this commit
introduces a command to add rules to forcibly manage windows that don't
get picked up by the rough heuristics that are able to target most
windows for management in Window.should_manage.

Since there is again no overlap (or at least, no undesired overlap)
between executable names and classes, I'll keep both class and exe names
in a single lookup vec.

re #16
This commit is contained in:
LGUG2Z
2021-08-19 14:34:59 -07:00
parent 8ffe6f78b7
commit 4e9b294835
6 changed files with 35 additions and 7 deletions
+1
View File
@@ -61,6 +61,7 @@ pub enum SocketMessage {
FloatExe(String),
FloatTitle(String),
WorkspaceRule(ApplicationIdentifier, String, usize, usize),
ManageRule(ApplicationIdentifier, String),
IdentifyTrayApplication(ApplicationIdentifier, String),
State,
FocusFollowsMouse(bool),