aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-06-11 20:04:45 +0200
committerTeddy Wing2019-06-15 20:31:08 +0200
commit8c50e358f8c0d0103422e78f1ae21d3c0a063843 (patch)
tree991421e05306c0bd697d94efb33b9b6f293c324a
parentf95ff75d8b9c06a794321ef6c9850252e8c12e37 (diff)
downloadWindowMode.spoon-8c50e358f8c0d0103422e78f1ae21d3c0a063843.tar.bz2
window: Fix commands to move window to screen
* Don't resize the window * Don't animate window movement
-rw-r--r--window.lua4
1 files changed, 2 insertions, 2 deletions
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)