mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:06:41 +00:00
Add center super narrow window hotkey
This commit is contained in:
@@ -64,14 +64,20 @@ function wm:init ()
|
|||||||
hs.hotkey.bind({"ctrl", "alt"}, "K", self.adjustWindow(0, 6, 30, 14))
|
hs.hotkey.bind({"ctrl", "alt"}, "K", self.adjustWindow(0, 6, 30, 14))
|
||||||
|
|
||||||
-- top left quarter
|
-- top left quarter
|
||||||
hs.hotkey.bind({"cmd", "ctrl", "shift"}, "J", self.adjustWindow(0, 0, 15, 10))
|
hs.hotkey.bind({"cmd", "ctrl", "shift"}, "J",
|
||||||
|
self.adjustWindow(0, 0, 15, 10))
|
||||||
-- top right quarter
|
-- top right quarter
|
||||||
hs.hotkey.bind({"cmd", "ctrl", "shift"}, "I", self.adjustWindow(15, 0, 15, 10))
|
hs.hotkey.bind({"cmd", "ctrl", "shift"}, "I",
|
||||||
|
self.adjustWindow(15, 0, 15, 10))
|
||||||
-- bottom right quarter
|
-- bottom right quarter
|
||||||
hs.hotkey.bind({"cmd", "ctrl", "shift"}, "L", self.adjustWindow(15, 10, 15, 10))
|
hs.hotkey.bind({"cmd", "ctrl", "shift"}, "L",
|
||||||
|
self.adjustWindow(15, 10, 15, 10))
|
||||||
-- bottom left quarter
|
-- bottom left quarter
|
||||||
hs.hotkey.bind({"cmd", "ctrl", "shift"}, "K", self.adjustWindow(0, 10, 15, 10))
|
hs.hotkey.bind({"cmd", "ctrl", "shift"}, "K",
|
||||||
|
self.adjustWindow(0, 10, 15, 10))
|
||||||
|
|
||||||
|
-- center super narrow
|
||||||
|
hs.hotkey.bind({"cmd", "ctrl", "alt"}, "\\", self.adjustWindow(10, 0, 10, 20))
|
||||||
-- center narrow small
|
-- center narrow small
|
||||||
hs.hotkey.bind({"ctrl", "alt"}, "\\", self.adjustWindow(9, 0, 12, 20))
|
hs.hotkey.bind({"ctrl", "alt"}, "\\", self.adjustWindow(9, 0, 12, 20))
|
||||||
-- center narrow
|
-- center narrow
|
||||||
|
|||||||
Reference in New Issue
Block a user