Skip to content

spitlo/hammerspoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hammerspoon config

Official spoons

ClipboardTool, ColorPicker, PasswordGenerator, ReloadConfiguration and SpoonInstall

Custom or customized spoons

Symbats

Shows a list of Unicode Symbols and Dingbats, copies to pasteboard on select.

WinWin (customized)

Adds a method, smartStepResize, that resizes the focused window "smartly" by one step.

By smartly, we mean:

  • If window gravitates to the left, right and left expands and shrinks the window on the right border (see illustration).
  • If window is more to the right, it resizes on the left border.
  • The same principal applies to up and down.
  • When a window is full width or full height, it will shrink/expand in the 'direction' direction.
 +------------------+------------------+
 |   +-------------------+             |
 |   |              |    |             |
 |   |              |  < | >           |
 +-------------------------------------+
 |   |         /\   |    |             |
 |   +-------------------+             |
 |             \/   |                  |
 +------------------+------------------+

HttpStatus (from gist)

Shows a list of http statuses. Opens the relevant status description on MDN on select. Bonus: Holding alt (option) while pressing enter takes you to the corresponding HTTP Cats page instead.

Adapted from: https://gist.github.com/james2doyle/8cec2b2693f7909b36587327a85055d5

Installation

$ cd ~
$ git clone https://github.com/spitlo/hammerspoon .hammerspoon

Todo

  • Shortcuts to connect to ProtonVPN in different countries (Perhaps something like Hyper+V and then another key for the country?)

About

My Hammerspoon config with some custom Spoons

Topics

Resources

Stars

Watchers

Forks

Languages