aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/layout.c
Commit message (Collapse)AuthorAge
* more renaming thingsLibravatar Tony Crisci2018-03-29
|
* rename container functionsLibravatar Tony Crisci2018-03-29
|
* move tree includes to their own directoryLibravatar Tony Crisci2018-03-29
|
* remove checks for command handlersLibravatar Tony Crisci2018-02-24
|
* basic layout commandLibravatar Tony Crisci2018-02-22
|
* Move everything to sway/old/Libravatar Drew DeVault2017-11-18
|
* prevent crash when `layout auto` is missing argsLibravatar Zandr Martin2017-04-29
|
* Improve criteria handlingLibravatar Calvin Lee2017-04-05
| | | | | | | | | | | | | | This commit changes how commands decide what container to act on. Commands get the current container though `current_container`, a global defined in sway/commands.c. If a criteria is given before a command, then the following command will be run once for every container the criteria matches with a reference to the matching container in 'current_container'. Commands should use this instead of `get_focused_container()` from now on. This commit also fixes a few (minor) mistakes made in implementing marks such as non-escaped arrows in sway(5) and calling the "mark" command "floating" by accident. It also cleans up `criteria.c` in a few places.
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* replaced "bot" with "bottom" in auto layout commandsLibravatar wil2017-01-14
|
* reworked "layout auto*" star commandsLibravatar wil2017-01-08
| | | | | | - "layout auto_left|auto_xxx" are now "layout auto xxx" - "layout incmaster <n>" is now "layout auto master [set|inc] <n>" - "layout incncol <n>" is now "layout auto ncol [set|inc] <n>"
* Indent cleanupsLibravatar wil2017-01-08
|
* [fix] cleanups suggested by Sway communityLibravatar wil2017-01-01
|
* changed "layout promote" command to "move first"Libravatar wil2017-01-01
| | | | This is more consistent with other Sway semantics.
* [fix] cycle auto layouts backwardsLibravatar wil2016-12-31
|
* cleanup in auto layoutsLibravatar wil2016-12-29
| | | | | | - added L_AUTO_FIRST/LAST instead of using explicit layouts. - when switching between auto layout that don't share the same major axis, invert the width/height of their child views to preserve their relative proportions.
* introduce next/prev as a direction for focus/move commands.Libravatar wil2016-12-29
|
* Added "layout incnmaster|incncol" commandsLibravatar wil2016-12-29
|
* Added Awesome/Monad type "auto" layoutsLibravatar wil2016-12-29
|
* fix layout switching (was broken because of workspace_layout)0.11-rc1Libravatar D.B2016-12-04
| | | | | | | For workspace containers, swayc_change_layout also changes ->layout alongside ->workspace_layout when it's a sensible thing to do. There is an additional test for 'layout toggle' command which ensures that containers will be tiled horizontally after toggling from tabbed or stacked.
* add workspace_layout to containerLibravatar D.B2016-12-04
| | | | | Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type.
* change default layout toggle to L_HORIZLibravatar D.B2016-11-06
| | | | | After issuing 'layout toggle split' command from tabbed/stacked layout, layout should have been horizontally split.
* Revert "Fixes dealing with workspace_layout and related bugs [rfc]"Libravatar Drew DeVault2016-10-12
|
* add workspace_layout, ensure ws is always L_HORIZLibravatar D.B2016-10-11
| | | | | | Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type. Workspace being always L_HORIZ makes this much more i3-compatible.
* merge in latest commitsLibravatar Zandr Martin2016-09-02
|
* refactor commands.cLibravatar Zandr Martin2016-09-01