Jason's public hammerspoon scripts - last updated 2024-03-18
recursives.lua - create recursive hotkey for typing the date, time, date+time in long or short formats
- demos from the HS intro, many of which are now in the basement
ctrl-opt-cmd-C=> show a clock (via spoon.AClock)ctrl-opt-cmd-F=> show foreground application, mouse location, focused application, etcctrl-opt-cmd-H=> show active hotkeysctrl-opt-cmd-R=> reload config (via spoon.ReloadConfiguration)ctrl-opt-cmd-S=> show whether sleep is enabledctrl-opt-cmd-V=> Show clipboard manager (via ClipboardTool)ctrl-opt-cmd-/=> show app-specific cheat sheet (via spoon.KSheet)ctrl-opt-cmd-shift-M=> draw a circle around the mouseopt-space=> use RecursiveBinder to load date/time submenuopt-cmd-V=> Bypass paste-blocking- create menubar item to enable/disable sleep
- bind URLS
hammerspoon://{stayup|chill}for other apps to call - At the end is a toggle to decide whether to load location-specific files
- ClipboardTool - clipboard manager
- FadeLogo - fades the logo after reload
- KSheet - cheat sheet
- Keychain - interact with Apple Keychain
- MicMute - mute the mic
- RecursiveBinder - bind recursive hotkeys (e.g.: hyper-D then dd to print the date, hyper-D hh for hour:min, etc)
- ReloadConfiguration - duh
- SpoonInstalll - simplified spoon installer and manager
- URLDispatcher - pick which browser opens specific URLs
- Disabled for now - everything moved to music-webserver.lua
ctrl-opt-cmd-J=> print my work email addressctrl-opt-cmd-L=> take a URL from the pasteboard and create a prettified hyperlink in Teams, Confluence, Jira, Outlookctrl-opt-cmd-M=> mute the mic at the OS level- URL bindings to start and stop VPNs
- URL bindings for Teams: mute mic and camera, hang up, raise hand,
- URLDispatcher opens specific URLs in Firefox
- URL calls to play, pause, change volume, get artist or track or album. Work-in-progress.
- Why? Dozens of applications had been enabled to send notifications. Clearing them manually was irritating and time consuming - and very automation-friendly. I probably won't have to use this again, but it was helpful and fun.