Loading...
Loading...
Hammerspoon desktop automation, hotkeys, launchd agents, and Ghostty terminal integration on macOS. Not for iOS Shortcuts or mobile workflows (see managing-shortcuts). Triggers: "Hammerspoon hotkey", "Hammerspoon 단축키", "핫키 설정", "open terminal from Finder", "Finder에서 터미널 열기", "Ghostty 새 창 문제", "setupLaunchAgents stuck", "launchd agent", "launchd HOME is /var/root", "Ghostty terminal issues", "Ghostty CSI u", "한글 입력소스 Ctrl", "init.lua", "eventtap", "데스크탑 자동화", "hs.ipc", "Hammerspoon reload".
npx skill4agent add greenheadhq/nixos-config automating-hammerspoon~/.hammerspoon/init.lualaunchctl listlaunchctl list | grep -v com.applehs.application.get("Ghostty")Cmd+Nopen -a Ghostty| 단축키 | 동작 |
|---|---|
| Finder에서 현재 폴더로 Ghostty 열기 |
| 영어 입력으로 전환 |
| 영어 전환 후 Homerow 실행 |
| 영어 전환 후 tmux prefix 전달 |
| Ghostty 전용 Ctrl 단축키 (CSI u 우회) |
| 터미널 앱에서 단어 단위 이동 |
| 파일 | 용도 |
|---|---|
| Nix 모듈 (파일 배포 선언) |
| Hammerspoon 메인 설정 (소스) |
| Caps Lock → F18 리매핑 (소스) |
| Atuin 메뉴바 상태 표시 (소스) |
| Chrome DevTools MCP 자동연결 (소스) |
| launchd 사용자 에이전트 |
# 현재 로드된 에이전트 확인
launchctl list | grep -v com.apple
# 특정 에이전트 상태
launchctl list <label>
# 에이전트 언로드 (권장)
launchctl bootout gui/$(id -u) ~/Library/LaunchAgents/<plist>
# 에이전트 로드 (권장)
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/<plist>
# 레거시 명령 (deprecated, 호환용)
launchctl unload ~/Library/LaunchAgents/<plist>
launchctl load ~/Library/LaunchAgents/<plist>