mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-14 00:52:54 +02:00
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:
@@ -1,7 +1,7 @@
|
||||
; Generated by komorebic.exe
|
||||
|
||||
Start(ffm) {
|
||||
Run, komorebic.exe start --ffm %ffm%, , Hide
|
||||
Start(ffm, await_configuration) {
|
||||
Run, komorebic.exe start %ffm% --await_configuration %await_configuration%, , Hide
|
||||
}
|
||||
|
||||
Stop() {
|
||||
@@ -252,6 +252,10 @@ WatchConfiguration(boolean_state) {
|
||||
Run, komorebic.exe watch-configuration %boolean_state%, , Hide
|
||||
}
|
||||
|
||||
CompleteConfiguration() {
|
||||
Run, komorebic.exe complete-configuration, , Hide
|
||||
}
|
||||
|
||||
WindowHidingBehaviour(hiding_behaviour) {
|
||||
Run, komorebic.exe window-hiding-behaviour %hiding_behaviour%, , Hide
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user