From 8c50e358f8c0d0103422e78f1ae21d3c0a063843 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 11 Jun 2019 20:04:45 +0200 Subject: window: Fix commands to move window to screen * Don't resize the window * Don't animate window movement --- window.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window.lua') diff --git a/window.lua b/window.lua index d0f042e..42b05ad 100644 --- a/window.lua +++ b/window.lua @@ -130,8 +130,8 @@ window_mode:bind({}, 'l', window.right_med, nil, window.right_med) window_mode:bind({}, 'j', window.down_med, nil, window.down_med) window_mode:bind({}, 'h', window.left_med, nil, window.left_med) -window_mode:bind({}, ']', nil, nil, function() hs.window.focusedWindow():moveOneScreenEast() end) -window_mode:bind({}, '[', nil, nil, function() hs.window.focusedWindow():moveOneScreenWest() end) +window_mode:bind({}, ']', function() hs.window.focusedWindow():moveOneScreenEast(true, false, 0) end) +window_mode:bind({}, '[', function() hs.window.focusedWindow():moveOneScreenWest(true, false, 0) end) window_mode:bind({'shift'}, 'e', window.decrease_up, nil, window.decrease_up) window_mode:bind({'shift'}, 'd', window.increase_down, nil, window.increase_down) -- cgit v1.2.3