Skip to content

Instantly share code, notes, and snippets.

@kiryph
kiryph / hammerspoon-init.lua
Last active Jan 27, 2022
Key chords for essential shape & line styles in Inkscape using Karabiner & Hammerspoon on macOS (inspired by Gilles Castel 2019)
View hammerspoon-init.lua
-- Add this to your ~/.hammerspoon/init.lua
-- based on https://castel.dev/post/lecture-notes-2/ and
-- https://github.com/gillescastel/inkscape-shortcut-manager
-- Make cli command `hs` available:
-- After an update of hammerspoon run once following two commmands
-- hs.ipc.cliUninstall(); hs.ipc.cliInstall()
require("hs.ipc")
local function intersect(m,n)