half-baked re-implementation of the major parts of sdorfehs in Hammerspoon
Lua 100.0%
18 1 0

Clone this repository

https://tangled.org/jcs.org/spoonfish https://tangled.org/did:plc:6ashubrd3ihfmnrpsatviswa/spoonfish
git@git.jcs.org:jcs.org/spoonfish git@git.jcs.org:did:plc:6ashubrd3ihfmnrpsatviswa/spoonfish

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

spoonfish#

A half-baked re-implementation of the major parts of sdorfehs in Hammerspoon.

Usage#

Fetch spoonfish:

cd ~/.hammerspoon
git clone https://github.com/jcs/spoonfish.git

Then add it to your ~/.hammerspoon/init.lua script, along with any startup configuration/commands:

local spoonfish = require("spoonfish/init")

spoonfish.apps_to_watch = {
  "^" .. spoonfish.terminal,
  "^Firefox",
  "^Music",
  "^Photos",
  "^Xcode",
  "^Android Studio",
}
table.insert(spoonfish.windows_to_ignore, "Extension: (Open in Browser)")

spoonfish.start()

local cs = hs.spaces.activeSpaceOnScreen()
spoonfish.frame_vertical_split(cs, 1)
spoonfish.frame_horizontal_split(cs, 2)
spoonfish.frame_focus(cs, 1, true)

Screenshot#

Screenshot