diff options
author | Teddy Wing | 2019-06-11 20:04:45 +0200 |
---|---|---|
committer | Teddy Wing | 2019-06-15 20:31:08 +0200 |
commit | fef1cb458efd7d0b414cdc477517cddcc583c696 (patch) | |
tree | 03573d3a98097dcdf57e7dfab8571586eaba0aa7 | |
parent | 125d0c8fa0f619687ebb0b61f9b504ee336142a3 (diff) | |
download | dothammerspoon-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.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |