mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-16 18:11:14 +02:00
feat(wm): add force-focus command
On rare occasions and usually with Firefox, the desired application will fail to be focused with the regular focus commands. This commit introduces a new command, force-focus, which can be used to simulate a left-click on a window that has failed to take focus, since this is what I have to do to work around the issue anyway.
This commit is contained in:
@@ -60,6 +60,10 @@ Close() {
|
||||
RunWait, komorebic.exe close, , Hide
|
||||
}
|
||||
|
||||
ForceFocus() {
|
||||
RunWait, komorebic.exe force-focus, , Hide
|
||||
}
|
||||
|
||||
CycleFocus(cycle_direction) {
|
||||
RunWait, komorebic.exe cycle-focus %cycle_direction%, , Hide
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user