Skip to content

jcs/spoonfish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages