/hammerspoon-config

My personal Hammerspoon setup

Primary LanguageLua

Personal Hammerspoon Setup

Caution

Currently maintained as part of my darwin-nix setup at: https://github.com/evantravers/dotfiles/tree/master/.config/hammerspoon


Intended to live in ~/.hammerspoon To install: git clone git@github.com:evantravers/hammerspoon-config.git ~/.hammerspoon

Requirements

  • Hyper requires Karabiner-elements, or some way of binding an F19 key (I bind left control -> F19)

Modules

Autolayout

  • Listens to display changes and moves and maximizes windows based on screen preferences.

Brave

  • Provides bindings for Brave Browser
    • Focus tab by domain in any window
    • Kill tabs by domain

Hyper

Moved to https://github.com/evantravers/Hyper.spoon

Headspace

Moved to https://github.com/evantravers/headspace.spoon

Movewindows

Moved to https://github.com/evantravers/MoveWindows.spoon/

One interesting binding for auto splitting an reference application, moved out to https://github.com/evantravers/split.spoon

Secrets

Simple loading of API keys or secret variables into hs.settings via hs.json.

Browsersnip

Quickly snipping ZK-style notes from browsers into Drafts.app