aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
AgeCommit message (Collapse)Author
2017-01-14replaced "bot" with "bottom" in auto layout commandswil
2017-01-14Merge branch 'master' into masterwillakat
2017-01-12Implement hide_edge_borders smart (like in i3 4.13)Frantisek Fladung
2017-01-08reworked "layout auto*" star commandswil
- "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>"
2017-01-08Indent cleanupswil
2017-01-07[fix] resize should now preserve surrounding container's dimensionswil
- prior to this modification, the requested pixels were added/removed to both edges of the modified container. To preserve sizes, only half the pixels should be added/removed to each edge.
2017-01-07Moved auto_* layout functions from resize.c to layout.cwil
2017-01-01[fix] cleanups suggested by Sway communitywil
2017-01-01changed "layout promote" command to "move first"wil
This is more consistent with other Sway semantics.
2016-12-31[fix] cycle auto layouts backwardswil
2016-12-29cleanup in auto layoutswil
- 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.
2016-12-29introduce next/prev as a direction for focus/move commands.wil
2016-12-29[fix] Handle auto layout resize with multiple slave groupswil
2016-12-29Added "layout incnmaster|incncol" commandswil
2016-12-29Handle resize in auto layoutswil
2016-12-29Added Awesome/Monad type "auto" layoutswil
2016-12-17Change how security config is loadedDrew DeVault
2016-12-15Fix indentation issuesDrew DeVault
2016-12-15Handle calloc failuresDrew DeVault
2016-12-15Handle allocation failures in security codeDrew DeVault
Note that such errors are generally going to be fatal
2016-12-15Handle allocation failure in commandsDrew DeVault
2016-12-04fix layout switching (was broken because of workspace_layout)D.B
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.
2016-12-04add workspace_layout to containerD.B
Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type.
2016-12-02Fix clang issuesDrew DeVault
2016-12-02Add ipc connection feature policy controlsDrew DeVault
2016-12-02Enforce IPC security policyDrew DeVault
2016-12-02Add IPC security policy command handlersDrew DeVault
2016-12-02Add support for command policies in config fileDrew DeVault
2016-12-01Implement permit and reject commandsDrew DeVault
2016-11-06change default layout toggle to L_HORIZD.B
After issuing 'layout toggle split' command from tabbed/stacked layout, layout should have been horizontally split.
2016-11-02change bar colors from char[10] to *charD.B
This commit removes has_* booleans from bar color struct. It also generalizes of functions in commands/bar/colors.c.
2016-11-02add bar colours for focused_(workspace|statusline|separator)D.B
If these aren't defined in config, color settings without 'focused_' prefix are used as a fallback.
2016-11-02use urgent_ws color in swaybar if binding_mode is undefinedD.B
2016-10-25Add left_handed support for input devicesMichał Winiarski
Some users may want to switch buttons on their input devices, turns out libinput already supports it. Let's add a support for it in our config. Signed-off-by: Michał Winiarski <knr@hardline.pl>
2016-10-12Revert "Fixes dealing with workspace_layout and related bugs [rfc]"Drew DeVault
2016-10-11add workspace_layout, ensure ws is always L_HORIZD.B
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.
2016-10-11Can't move an empty workspaceNicolas Cornu
2016-10-07add force_focus_wrapping optionD.B
2016-09-25Implement default name for workspace commandRyan Dwyer
This implements commands such as: workspace number 9: test If a workspace with the given number exists then it will be focused, otherwise a new workspace with the given name will be created.
2016-09-07squash commits, move enum into resize.cZandr Martin
2016-09-02merge in latest commitsZandr Martin
2016-09-01refactor commands.cZandr Martin