-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
27 lines (22 loc) · 1.24 KB
/
Copy pathinit.lua
File metadata and controls
27 lines (22 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
-- Moonlight streams to linux: Cmd+Q ends the stream, fn+Esc returns to the Mac,
-- and the Mac/linux clipboards sync so Cmd+V pastes from either. Loaded before
-- ProfileRouter so a missing ProfileRouter checkout cannot take it down.
require("Scripts.moonlight-keys").start()
-- 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()