/dot-hammerspoon

My Hammerspoon configuration

Primary LanguageLua

.hammerspoon

My Hammerspoon configuration

⌘ ⌥ ⇧ ⌃ ⇪ Fn ⟵ ⟶ ↑ ↓

Before running, open init.lua in your editor and commend/uncomment the modules that you want. Note, if you want to use gcal, it takes addition setup, outlined below.

You can launch Hammerspoon from spotlight. Once Hammerspoon is running, you can view a list of shortcuts by typing 'alt+h'.

Install

Install hammerspoon:

brew install hammerspoon

clone the repo and symlink it to your hammerspoon configuration folder.

ln -s ~/code/dot-hammerspoon ~/.hammerspoon

TODO

  • gcal menu -- DONE: implemented with personal calendar -- request access with work calendar -- convert to a spoon for better re-use -- add ability to launch zoom if meeting has one -- fix credentials needing to exist in two folders -- fix hardcoded file paths -- add install script for manual setup -- add notify when meeting is starting
  • pomodoro
  • seal -- more seal
  • check out menuhammer
  • check out spacehammer
  • universalarchive
  • clipboard manager
  • a spoon for zdi that adds a menu displaying running apps/services and has reload/start/stop commands that can be bound to.

Resources

ctrl # will switch desktops

Credits

gcal

menubar extension to interact with Google Calendar events

alt text

Installation

  1. Make sure you have python3 installed

  2. Install python packages

pip3 install --upgrade google-api-python-client oauth2client python-dateutil httplib2
  1. Set PYTHON_BINARY in init.lua to the output of which python3

  2. Go to Google Calendar Python Quickstart and Enable the Google Calendar API

  3. Download the credentials.json file and save it in the gcal folder

  4. Run python3 gcal/gcal.py -e which should prompt you to log into your Google account

Other goodies...

Bookmarks: Set up your bookmarks in bookmarks/bookmarks.json