.hammerspoon/init.lua

changeset 520
a6a39c406585
parent 500
efce0f59ef14
child 620
ce78d743489f
equal deleted inserted replaced
519:42e8433b8a51 520:a6a39c406585
38 cmdCtrl('right', function () focusedWindow():moveOneScreenEast() end) 38 cmdCtrl('right', function () focusedWindow():moveOneScreenEast() end)
39 39
40 cmd('return', function () 40 cmd('return', function ()
41 hs.applescript.applescript([[ 41 hs.applescript.applescript([[
42 tell application "iTerm" 42 tell application "iTerm"
43 create window with default profile 43 set newterm to (create window with default profile)
44 activate 44 tell newterm to activate
45 end tell 45 end tell
46 ]]) 46 ]])
47 end) 47 end)
48 48
49 -- cache window frames before moving? 49 -- cache window frames before moving?

mercurial