aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorLines
2017-04-03Impliment i3-style marksCalvin Lee-0/+9
This commit adds three commands to sway: `show_marks`, `mark` and `unmark`. Marks are displayed right-aligned in the window border as i3 does. Marks may be found using criteria. Fixes #1007
2017-03-18wl_poitner -> wl_pointerZandr Martin-1/+1
2017-03-14Removed superfluous include, causing failures if WLC headers aren't ↵Sebastian Noack-1/+0
installed globally
2017-03-13Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliasesZandr Martin-19/+19
2017-03-10Correct indentationDrew DeVault-19/+19
2017-03-09deprecate new_window and new_float commandsZandr Martin-1/+3
2017-03-01i3 feature support: Moving flotaing containersCalvin Lee-1/+1
This commit lets the 'move' command apply to floating containers as well as tiled ones. The command may be appended with a number of pixels and then optionally the string `px` (like '10 px') in order to move the container more or fewer than the standard ten pixels.
2017-02-22Merge branch 'master' into swaylock_colorsDrew DeVault-5/+18
2017-02-21Documentation and style fixes for swaylockCalvin Lee-0/+6
2017-02-21Feature for #1078: Configurable swaylock colorsCalvin Lee-21/+41
Colors are configured through the command line so that swaylock conforms to the i3lock fork 'github.com/chrjguill/i3lock-color'. Differences from it are that one letter options '-r' and '-s' are not implimentend because '-s' is already used by '--scaling' in swaylock. This commit also fixed whitespace in 'include/swaylock/swaylock.h' and changed `parse_color` in 'common/util.h' so that it can accept colors that do not start with a hash. This was done to keep compatability with the i3lock fork.
2017-02-20Read configs from /etc/sway/security.d/*Drew DeVault-0/+2
2017-02-20Add * policies and fix bugDrew DeVault-1/+6
2017-02-20Add initial support code for new IPC securityDrew DeVault-4/+10
2017-01-19Add window instance supportMykyta Holubakha-0/+1
2017-01-14Merge branch 'master' into masterwillakat-1/+3
2017-01-13Add output wrappingDaniel Kessler-0/+1
This fixes issue #733. Now if the user focuses output right but is at the rightmost monitor, the focus will wrap the the leftmost monitor. This commit adds a new function, swayc_opposite_output, which selects the opposite output given a position and a direction. Now, when calling output_by_name, we first check if there is an adjacent output to switch to. If that fails, we call swayc_opposite_output to handle wrapping.
2017-01-12Implement hide_edge_borders smart (like in i3 4.13)Frantisek Fladung-1/+2
2017-01-07simplification of apply_auto_layoutwil-4/+5
Achieved by introducing auto_group_bounds function that produces the start/end indexes of a group inside an auto layot container.
2017-01-07Moved auto_* layout functions from resize.c to layout.cwil-0/+4
2017-01-01Merge branch 'master' of https://github.com/willakat/swaywil-0/+1
2017-01-01[fix] cleanups suggested by Sway communitywil-5/+3
2017-01-01changed "layout promote" command to "move first"wil-1/+2
This is more consistent with other Sway semantics.
2017-01-01Fix inline is_auto_layoutDrew DeVault-3/+2
2016-12-29Added "layout promote" command.wil-0/+2
2016-12-29cleanup in auto layoutswil-1/+4
- 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-2/+3
2016-12-29Added Awesome/Monad type "auto" layoutswil-0/+20
2016-12-17Change how security config is loaded0.11-rc3Drew DeVault-0/+5
2016-12-15Always log filename and line numberDrew DeVault-5/+0
2016-12-04fix layout switching (was broken because of workspace_layout)0.11-rc1D.B-1/+1
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-0/+7
Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type.
2016-12-02Add ipc connection feature policy controlsDrew DeVault-0/+1
2016-12-02Enforce IPC security policyDrew DeVault-0/+17
2016-12-02Add IPC security policy command handlersDrew DeVault-0/+5
2016-12-02Add IPC policy to configDrew DeVault-4/+7
Also reduces enum abuse, cc @minus7
2016-12-02Enforce command policiesDrew DeVault-1/+3
2016-12-02Add support for command policies in config fileDrew DeVault-1/+10
2016-12-01Implement permit and reject commandsDrew DeVault-11/+6
2016-12-01Implement policy lookupsDrew DeVault-3/+11
2016-12-01Add config related code and initial headersDrew DeVault-3/+45
2016-11-02change bar colors from char[10] to *charD.B-29/+21
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-1/+16
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-0/+4
2016-10-25Add left_handed support for input devicesMichał Winiarski-0/+2
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-7/+0
2016-10-11add workspace_layout, ensure ws is always L_HORIZD.B-0/+7
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-07add force_focus_wrapping optionD.B-0/+2
2016-10-06add click on title_bar to focus a containerNicolas Cornu-0/+4
2016-09-21add unique IDs to containersZandr Martin-0/+7
2016-09-18implement "focused container" feature for swaygrabZandr Martin-0/+10