From 7e14f82c4b5e3137bbdc3a4e55dbfe01e5af28c0 Mon Sep 17 00:00:00 2001 From: Omar Zeidan Date: Sat, 30 Dec 2017 03:52:32 +0100 Subject: Implemented simple shourtcuts to move window to another monitor --- src/include/all-keybindings.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/include') diff --git a/src/include/all-keybindings.h b/src/include/all-keybindings.h index 2cba3df2..cba8e9fd 100644 --- a/src/include/all-keybindings.h +++ b/src/include/all-keybindings.h @@ -279,6 +279,7 @@ keybind (move-to-corner-sw, handle_move_to_corner_sw, 0, keybind (move-to-corner-se, handle_move_to_corner_se, 0, BINDING_PER_WINDOW) + keybind (move-to-side-n, handle_move_to_side_n, 0, BINDING_PER_WINDOW) keybind (move-to-side-s, handle_move_to_side_s, 0, @@ -290,6 +291,19 @@ keybind (move-to-side-w, handle_move_to_side_w, 0, keybind (move-to-center, handle_move_to_center, 0, BINDING_PER_WINDOW) +keybind (move-to-monitor-n, handle_move_to_monitor, META_SCREEN_UP, + BINDING_PER_WINDOW) +keybind (move-to-monitor-s, handle_move_to_monitor, META_SCREEN_DOWN, + BINDING_PER_WINDOW) +keybind (move-to-monitor-e, handle_move_to_monitor, META_SCREEN_RIGHT, + BINDING_PER_WINDOW) +keybind (move-to-monitor-w, handle_move_to_monitor, META_SCREEN_LEFT, + BINDING_PER_WINDOW) + + + + + keybind (switch-to-workspace-prev, handle_switch_to_workspace, META_MOTION_PREV, 0) -- cgit v1.2.1