Maya Workflow Kit
The whole Maya workflow in Blender, in one install. Free and open source, Blender 4.5 – 5.2.
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Hammerspoon Spoon: hotkeys to launch or focus apps, open files or URLs, or run functions, with a menu bar indicator for slow actions
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A Hammerspoon Spoon that binds hotkeys to launch or focus apps, open files or URLs, or run functions.
Repository: https://github.com/hugoh/AppLauncher.spoon
● appears in the menu bar only when an action is slow (still running after 0.2 s by default), and is always cleared, even if an action never finishesdone callback, so the indicator and the logged time cover the whole actionEnsure you have Hammerspoon installed, then choose a method:
AppLauncher.spoon.zip from the latest releaseAppLauncher.spoon folder~/.hammerspoon/Spoons/hs.reload() in the console)spoon.SpoonInstall:installSpoonFromZip(
"https://github.com/hugoh/AppLauncher.spoon/releases/latest/download/AppLauncher.spoon.zip"
)
cd ~/.hammerspoon/Spoons
git clone https://github.com/hugoh/AppLauncher.spoon.git
local hyper = { "ctrl", "alt", "cmd" }
hs.loadSpoon("AppLauncher"):registerMappings(hyper, {
{ key = "s", app = "Slack" },
{ key = "o", app = "Microsoft Outlook", forceOpen = true },
{ key = "w", open = "https://example.com" },
{ key = "9", label = "Play/Pause", func = function() hs.eventtap.event.newSystemKeyEvent("PLAY", true):post() end },
{
key = "m",
label = "Slow thing",
async = true,
func = function(done)
hs.timer.doAfter(2, done) -- report when the work is finished
end,
},
})
Each mapping has a key and one action:
| Field | Action |
|---|---|
app | Focus the app, bringing all its windows forward, and launch it first if it isn't running; a running app with no window goes through hs.application.launchOrFocus so one reopens. forceOpen = true always goes through hs.application.launchOrFocus instead. raiseWindows = true also raises each window individually, e.g. if some don't come forward; it's off by default because it can be slow in some apps (about 150 ms per window in Obsidian), and Hammerspoon is blocked meanwhile. |
open | Pass a file, folder or URL to /usr/bin/open. |
func | Call a function. With async = true, it receives a done callback to call when finished. |
label | Optional name for a func mapping, used in logs and alerts. |
registerMappings can be called more than once, for example to keep machine-specific mappings in a separate block.
Tune behaviour with configure() before registerMappings (all optional):
hs.loadSpoon("AppLauncher"):configure({
notify = true, -- show Hammerspoon's hotkey alert with the mapping's name on each press
indicatorDelay = 0.2, -- seconds an action may run before the ● appears; false to never show it
actionTimeout = 5, -- seconds before an unfinished action stops counting as running; false to wait forever
logElapsedAbove = 0.1, -- seconds an action must take before its elapsed time is logged; 0 always, false never
}):registerMappings(hyper, mappings)
Hammerspoon draws the menu bar on the same main thread that runs your hotkeys, so the ● can only appear while that thread is free: while an app is launching, open is running, or an async function is waiting on something. Work that blocks the main thread shows nothing. Painting the indicator before every action would mean delaying every action, so AppLauncher shows it only for actions that turn out to be slow.
If an async function never calls done, the action stops counting as running after actionTimeout and a warning is logged, so the indicator can't get stuck. A done that arrives after that still logs the real elapsed time, if it exceeds logElapsedAbove.
Focusing apps and raising their windows uses the accessibility API, so Hammerspoon needs Accessibility permission (System Settings → Privacy & Security → Accessibility).
Full API reference is generated from the docstrings in init.lua (mise run docs).