feat(wm): optionally await config completion

This commit introduces a new flag to komorebi and komorebic,
--await-configuration, which when enabled, will stop the process from
processing window manager events and updating the layout until the
'komorebic complete-configuration' command has been sent.

This should typically be added at the end of a user's komorebi.ahk
configuration file if they decide to enable this feature.

resolve #190
This commit is contained in:
LGUG2Z
2022-07-26 12:38:17 -07:00
parent 5b91e22114
commit a6d46dbf45
10 changed files with 90 additions and 29 deletions
+1
View File
@@ -96,6 +96,7 @@ pub enum SocketMessage {
// Configuration
ReloadConfiguration,
WatchConfiguration(bool),
CompleteConfiguration,
InvisibleBorders(Rect),
WorkAreaOffset(Rect),
ResizeDelta(i32),