aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAge
* Implement no_focusLibravatar Drew DeVault2017-04-26
| | | | Ref #2
* Make sway_abort() report locationLibravatar Jerzi Kaminsky2017-04-20
|
* Add resolve_path() to utilsLibravatar Jerzi Kaminsky2017-04-16
|
* Move get_feature_policy to sway/security.cLibravatar Jerzi Kaminsky2017-04-16
|
* Disambiguate get_*_policy() and get_*_policy_mask()Libravatar Jerzi Kaminsky2017-04-16
|
* Fix location reported by sway_assertLibravatar Jerzi Kaminsky2017-04-16
|
* Fix variadic forwarding in sway_assertLibravatar Jerzi Kaminsky2017-04-16
| | | | | | | | _sway_assert is a variadic function which tries to delegate to another variadic function. This requires a vprintf-style variant of the delegate. https://stackoverflow.com/a/150616
* Merge branch 'master' into pretty-print-swaymsgLibravatar Drew DeVault2017-04-10
|\
| * 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.
| * Impliment i3-style marksLibravatar Calvin Lee2017-04-03
| | | | | | | | | | | | | | | | 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
* | Add pretty printing to swaymsgLibravatar Drew DeVault2017-04-03
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If stdout is a tty, it will pretty print unless -r (--raw) is given. Sample outputs: ``` ~/s/s/build > ./bin/swaymsg fullscreen toggle Error: Permission denied for fullscreen toggle via IPC ~/s/s/build > ./bin/swaymsg -t get_workspaces Workspace 3:三 Output: DVI-I-1 Layout: splith Workspace 1:一 (off-screen) Output: HDMI-A-1 Layout: splith Workspace 5:五 (focused) Output: HDMI-A-1 Layout: splith ~/s/s/build > ./bin/swaymsg -t get_inputs Input device Metadot - Das Keyboard Das Keyboard Type: Keyboard Sway ID: 9456:320:Metadot_-_Das_Keyboard_Das_Keyb Input device Wacom Intuos S 2 Pen Type: Tablet tool Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Wacom Intuos S 2 Pad Type: Tablet pad Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Logitech Gaming Mouse G502 Type: Keyboard, Mouse Sway ID: 1133:49277:Logitech_Gaming_Mous ~/s/s/build > ./bin/swaymsg -t get_outputs Output DVI-I-1 Geometry: 1920x1080 @ 3840,0 Scale factor: 1x Workspace: 3:三 Output DVI-D-1 Geometry: 1920x1080 @ 0,0 Scale factor: 1x Workspace: 4:四 Output HDMI-A-1 Geometry: 1920x1080 @ 1920,0 Scale factor: 1x Workspace: 5:五 ```
* wl_poitner -> wl_pointerLibravatar Zandr Martin2017-03-18
|
* Removed superfluous include, causing failures if WLC headers aren't ↵Libravatar Sebastian Noack2017-03-14
| | | | installed globally
* Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliasesLibravatar Zandr Martin2017-03-13
|\
| * Correct indentationLibravatar Drew DeVault2017-03-10
| |
* | deprecate new_window and new_float commandsLibravatar Zandr Martin2017-03-09
|/
* i3 feature support: Moving flotaing containersLibravatar Calvin Lee2017-03-01
| | | | | | | 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.
* Merge branch 'master' into swaylock_colorsLibravatar Drew DeVault2017-02-22
|\
| * Read configs from /etc/sway/security.d/*Libravatar Drew DeVault2017-02-20
| |
| * Add * policies and fix bugLibravatar Drew DeVault2017-02-20
| |
| * Add initial support code for new IPC securityLibravatar Drew DeVault2017-02-20
| |
* | Documentation and style fixes for swaylockLibravatar Calvin Lee2017-02-21
| |
* | Feature for #1078: Configurable swaylock colorsLibravatar Calvin Lee2017-02-21
|/ | | | | | | | | | | 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.
* Add window instance supportLibravatar Mykyta Holubakha2017-01-19
|
* Merge branch 'master' into masterLibravatar willakat2017-01-14
|\
| * Add output wrappingLibravatar Daniel Kessler2017-01-13
| | | | | | | | | | | | | | | | | | 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.
| * Implement hide_edge_borders smart (like in i3 4.13)Libravatar Frantisek Fladung2017-01-12
| |
* | simplification of apply_auto_layoutLibravatar wil2017-01-07
| | | | | | | | | | Achieved by introducing auto_group_bounds function that produces the start/end indexes of a group inside an auto layot container.
* | Moved auto_* layout functions from resize.c to layout.cLibravatar wil2017-01-07
| |
* | Merge branch 'master' of https://github.com/willakat/swayLibravatar wil2017-01-01
|\ \
| * | Fix inline is_auto_layoutLibravatar Drew DeVault2017-01-01
| | |
* | | [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.
* | Added "layout promote" command.Libravatar wil2016-12-29
| |
* | 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 Awesome/Monad type "auto" layoutsLibravatar wil2016-12-29
|/
* Change how security config is loaded0.11-rc3Libravatar Drew DeVault2016-12-17
|
* Always log filename and line numberLibravatar Drew DeVault2016-12-15
|
* 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.
* Add ipc connection feature policy controlsLibravatar Drew DeVault2016-12-02
|
* Enforce IPC security policyLibravatar Drew DeVault2016-12-02
|
* Add IPC security policy command handlersLibravatar Drew DeVault2016-12-02
|
* Add IPC policy to configLibravatar Drew DeVault2016-12-02
| | | | Also reduces enum abuse, cc @minus7
* Enforce command policiesLibravatar Drew DeVault2016-12-02
|
* Add support for command policies in config fileLibravatar Drew DeVault2016-12-02
|
* Implement permit and reject commandsLibravatar Drew DeVault2016-12-01
|
* Implement policy lookupsLibravatar Drew DeVault2016-12-01
|
* Add config related code and initial headersLibravatar Drew DeVault2016-12-01
|