mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-10 10:48:35 -05:00
add MouseFollowsFocus
This commit is contained in:
parent
ac85fbfa4e
commit
ff0b039cc0
1 changed files with 10 additions and 0 deletions
|
|
@ -36,6 +36,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
file.".hammerspoon/Spoons/MouseFollowsFocus.spoon" = {
|
||||
source = pkgs.fetchzip {
|
||||
url = "https://github.com/Hammerspoon/Spoons/raw/master/Spoons/MouseFollowsFocus.spoon.zip";
|
||||
hash = "sha256-TI3LxurbBohvR9xI+HvrorGZl5QyPB1+uSX0uMC2RiQ=";
|
||||
};
|
||||
};
|
||||
|
||||
file.".hammerspoon/init.lua" = {
|
||||
text = ''
|
||||
|
||||
|
|
@ -43,6 +50,9 @@
|
|||
-- ActiveSpace.compact = true
|
||||
-- ActiveSpace:start()
|
||||
|
||||
MouseFollowsFocus = hs.loadSpoon("MouseFollowsFocus")
|
||||
MouseFollowsFocus:start()
|
||||
|
||||
WarpMouse = hs.loadSpoon("WarpMouse")
|
||||
-- WarpMouse.margin = 8 -- optionally set how far past a screen edge the mouse should warp, default is 2 pixels
|
||||
WarpMouse:start()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue