Skip to content

refactor(hammerspoon): 에러 가능 지점과 미사용 설정 정리 - #21

Merged
dorage merged 3 commits into
mainfrom
refactor/hammerspoon-cleanup
Oct 22, 2026
Merged

dorage merged 3 commits into
mainfrom
refactor/hammerspoon-cleanup

Conversation

@dorage

@dorage dorage commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

목적

Hammerspoon 설정에서 에러가 날 수 있는 지점을 막고, 쓰이지 않는 설정을 지운다.

변경

  • fix: tiling 포커스 창 없음/chooser 취소/앱 정보 없는 창, active-app 포커스 이벤트 nil, manager.remove_widget 타이머 조건 반전
  • refactor: Annotation, utils, battery/memory/storage 위젯, 미사용 변수·주석·빈 함수 제거

확인

  • luac -p 로 전체 lua 문법 검사 통과
  • Hammerspoon 실제 리로드 확인은 아직 하지 않음 (~/.hammerspoon 이 리포 링크가 아닌 복사본)

범위 밖

  • ~/.hammerspoon 복사본 → 심볼릭 링크 전환
  • sketchybar 에 wifi 항목이 없어 wifi 위젯이 동작하지 않는 문제

🤖 Generated with Claude Code

dorage and others added 3 commits October 22, 2026 22:27
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- tiling: 포커스 창이 없거나 chooser 취소 시 에러 방지, 앱 정보 없는 창 처리
- active-app: 포커스 이벤트의 window 인자로 bundleID 조회
- manager: remove_widget 의 타이머 조건 반전 수정

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- 결과물이 쓰이지 않는 Annotation(EmmyLua) 과 리로드 시 호출 제거
- 불러다 쓰는 곳이 없는 utils/dump 제거
- 주석 처리된 battery/memory/storage 위젯 제거
- 미사용 변수, 주석 처리된 단축키, 빈 update 함수 제거

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@dorage
dorage merged commit ad0959b into main Oct 22, 2026
2 checks passed
@dorage
dorage deleted the refactor/hammerspoon-cleanup branch October 22, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant