aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-06-11 20:04:45 +0200
committerTeddy Wing2019-06-15 20:31:08 +0200
commitfef1cb458efd7d0b414cdc477517cddcc583c696 (patch)
tree03573d3a98097dcdf57e7dfab8571586eaba0aa7
parent125d0c8fa0f619687ebb0b61f9b504ee336142a3 (diff)
downloaddothammerspoon-fef1cb458efd7d0b414cdc477517cddcc583c696.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)