feat(wm): mouse follows focus enable/disable cmd

This commit adds a command to explicitly specify the desired state of
mouse follows focus to complement the previously added toggle command.
This commit is contained in:
LGUG2Z
2021-10-30 15:24:27 -07:00
parent a55069df48
commit 4e6e2b3aa8
4 changed files with 20 additions and 0 deletions

View File

@@ -244,6 +244,10 @@ ToggleFocusFollowsMouse(implementation) {
Run, komorebic.exe toggle-focus-follows-mouse --implementation %implementation%, , Hide
}
MouseFollowsFocus(boolean_state) {
Run, komorebic.exe mouse-follows-focus %boolean_state%, , Hide
}
ToggleMouseFollowsFocus() {
Run, komorebic.exe toggle-mouse-follows-focus, , Hide
}