From 08d0aab5a7a82f29150910979552928025cfc630 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 25 Jul 2019 00:18:36 +0200 Subject: Automatically reposition iTerm window 2 when external monitor connected When my external monitor is connected, ensure that iTerm's window #2 is in the proper position. iTerm has a habit of getting its window layout screwed up when switching monitors (or just not remembering window layouts between monitors). --- init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index e87a1a7..95a436c 100644 --- a/init.lua +++ b/init.lua @@ -22,6 +22,7 @@ require('gdrive_mouseover_item') require('mouse') require('terminal_tab_hotkeys') require('ufo') +require('window_layout') hs.loadSpoon('WindowMode') spoon.WindowMode:bindHotkeys({ mode = {{'ctrl', 'option'}, 'w'} }) -- cgit v1.2.3