feat(wm): add toggle-focus-follows-mouse cmd

Decided there should be a quick way to toggle the native ffm
functionality, it gets especially annoying when trying to click drop
downs from the system tray etc.

re #7
This commit is contained in:
LGUG2Z
2021-08-23 14:08:02 -07:00
parent fb4fe4d9c3
commit 87fe718754
7 changed files with 170 additions and 133 deletions
+8 -3
View File
@@ -4,9 +4,6 @@
; Enable hot reloading of changes to this file
WatchConfiguration("enable")
; Enable focus follows mouse
FocusFollowsMouse("enable")
; Ensure there are 5 workspaces created on monitor 0
EnsureWorkspaces(0, 5)
@@ -41,6 +38,9 @@ FloatRule("exe", "wincompose.exe")
FloatRule("exe", "1Password.exe")
FloatRule("exe", "Wox.exe")
; Identify Minimize-to-Tray Applications
IdentifyTrayApplication("exe", "Discord.exe")
; Change the focused window, Alt + Vim direction keys
!h::
Focus("left")
@@ -170,6 +170,11 @@ return
TogglePause()
return
; Toggle focus follows mouse
!0::
ToggleFocusFollowsMouse()
return
; Switch to workspace
!1::
Send !