-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
22 lines (18 loc) · 995 Bytes
/
Copy pathinit.lua
File metadata and controls
22 lines (18 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require("hs.ipc")
hs.loadSpoon("ReloadConfiguration")
-- spoon.ReloadConfiguration:start() -- Removed auto-reload on file changes
-- Load the custom scripts using require instead of dofile
-- local dismissNotif = require("Scripts.dismissNotification") -- disabled: hardcoded coords + keylogger
--require("Scripts.2browser-windows")
require("Scripts.mouse-highlight")
-- require("Scripts.birthdayCountdown")
-- require("Scripts.arrows") -- disabled
-- ProfileRouter (managed in its own repo: ~/local-code/ProfileRouter,
-- symlinked into Spoons/). Create ~/.hammerspoon/routes/<profile>.txt files to
-- activate it; until then it just warns "No route files found".
hs.loadSpoon("ProfileRouter")
spoon.ProfileRouter:start()
spoon.ProfileRouter:bindHotkeys({ cycleTab = { { "ctrl" }, "s" } })
-- Notify (once per version) when Dia updates past the 1.36.0 build that crashes
-- on --enable-applescript-javascript, so the flag is worth re-testing.
require("Scripts.dia-version-watch").start()