diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/50-marco-window-key.xml.in | 16 | ||||
-rw-r--r-- | src/include/all-keybindings.h | 12 | ||||
-rw-r--r-- | src/org.mate.marco.gschema.xml | 20 |
3 files changed, 48 insertions, 0 deletions
diff --git a/src/50-marco-window-key.xml.in b/src/50-marco-window-key.xml.in index 0b3ecef4..6d826d5f 100644 --- a/src/50-marco-window-key.xml.in +++ b/src/50-marco-window-key.xml.in @@ -78,6 +78,22 @@ _description="Tile window to west (left) side of screen" /> <KeyListEntry + name="tile-to-corner-nw" + _description="Tile window to north-west (top left) corner" /> + + <KeyListEntry + name="tile-to-corner-ne" + _description="Tile window to north-east (top right) corner" /> + + <KeyListEntry + name="tile-to-corner-sw" + _description="Tile window to south-west (bottom left) corner" /> + + <KeyListEntry + name="tile-to-corner-se" + _description="Tile window to south-east (bottom right) corner" /> + + <KeyListEntry name="move-to-corner-nw" _description="Move window to north-west (top left) corner" /> diff --git a/src/include/all-keybindings.h b/src/include/all-keybindings.h index b236823c..924a8e66 100644 --- a/src/include/all-keybindings.h +++ b/src/include/all-keybindings.h @@ -258,6 +258,18 @@ keybind (tile-to-side-e, handle_toggle_tiled, META_TILE_RIGHT, keybind (tile-to-side-w, handle_toggle_tiled, META_TILE_LEFT, BINDING_PER_WINDOW) +keybind (tile-to-corner-nw, handle_toggle_tiled, META_TILE_TOP_LEFT, + BINDING_PER_WINDOW) + +keybind (tile-to-corner-ne, handle_toggle_tiled, META_TILE_TOP_RIGHT, + BINDING_PER_WINDOW) + +keybind (tile-to-corner-se, handle_toggle_tiled, META_TILE_BOTTOM_RIGHT, + BINDING_PER_WINDOW) + +keybind (tile-to-corner-sw, handle_toggle_tiled, META_TILE_BOTTOM_LEFT, + BINDING_PER_WINDOW) + keybind (move-to-corner-nw, handle_move_to_corner_nw, 0, BINDING_PER_WINDOW) keybind (move-to-corner-ne, handle_move_to_corner_ne, 0, diff --git a/src/org.mate.marco.gschema.xml b/src/org.mate.marco.gschema.xml index 835abebe..4d76700e 100644 --- a/src/org.mate.marco.gschema.xml +++ b/src/org.mate.marco.gschema.xml @@ -878,6 +878,26 @@ <summary>Tile window to west (left) side of screen</summary> <description>The format looks like "<Control>a" or "<Shift><Alt>F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "<Ctl>" and "<Ctrl>". If you set the option to the special string "disabled", then there will be no keybinding for this action.</description> </key> + <key name="tile-to-corner-nw" type="s"> + <default>'disabled'</default> + <summary>Tile window to north-west (upper left) corner of screen</summary> + <description>The format looks like "<Control>a" or "<Shift><Alt>F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "<Ctl>" and "<Ctrl>". If you set the option to the special string "disabled", then there will be no keybinding for this action.</description> + </key> + <key name="tile-to-corner-ne" type="s"> + <default>'disabled'</default> + <summary>Tile window to north-east (upper right) corner of screen</summary> + <description>The format looks like "<Control>a" or "<Shift><Alt>F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "<Ctl>" and "<Ctrl>". If you set the option to the special string "disabled", then there will be no keybinding for this action.</description> + </key> + <key name="tile-to-corner-se" type="s"> + <default>'disabled'</default> + <summary>Tile window to south-east (lower right) corner of screen</summary> + <description>The format looks like "<Control>a" or "<Shift><Alt>F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "<Ctl>" and "<Ctrl>". If you set the option to the special string "disabled", then there will be no keybinding for this action.</description> + </key> + <key name="tile-to-corner-sw" type="s"> + <default>'disabled'</default> + <summary>Tile window to south-west (lower left) corner of screen</summary> + <description>The format looks like "<Control>a" or "<Shift><Alt>F1". The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "<Ctl>" and "<Ctrl>". If you set the option to the special string "disabled", then there will be no keybinding for this action.</description> + </key> <key name="move-to-corner-nw" type="s"> <default>'disabled'</default> <summary>Move window to north-west (top left) corner</summary> |