mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[hammerspoon] add cheatsheet (disabled)
This commit is contained in:
parent
1ed0a3756f
commit
33f03d7d91
2 changed files with 9 additions and 0 deletions
8
hammerspoon/cheatsheet.lua
Normal file
8
hammerspoon/cheatsheet.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
hs.loadSpoon("KSheet")
|
||||||
|
|
||||||
|
modal = hs.hotkey.modal.new({"cmd", "alt", "ctrl"}, "c")
|
||||||
|
|
||||||
|
function modal:entered() spoon.KSheet:show() end
|
||||||
|
function modal:exited() spoon.KSheet:hide() end
|
||||||
|
|
||||||
|
modal:bind('', 'escape', function() modal:exit() end)
|
|
@ -1,3 +1,4 @@
|
||||||
require "TerminalPalette"
|
require "TerminalPalette"
|
||||||
|
-- require "cheatsheet"
|
||||||
|
|
||||||
hs.notify.show("Hammerspoon", "", "Hammespoon config loaded")
|
hs.notify.show("Hammerspoon", "", "Hammespoon config loaded")
|
||||||
|
|
Loading…
Reference in a new issue