summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
| * | Added designated initaliser, to prevent any possible problem withLibravatar Scott Anderson2017-04-07
| | | | | | | | | | | | ordering
| * | Changed regular expressions to use PCRE for i3 compatibilityLibravatar Scott Anderson2017-04-07
|/ /
* | Merge pull request #1149 from 4e554c4c/criteriaLibravatar Drew DeVault2017-04-06
|\ \ | | | | | | Improve criteria handling
| * | 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.
* | Merge pull request #1145 from 4e554c4c/marksLibravatar Drew DeVault2017-04-03
|\ \ | | | | | | Impliment i3-style marks
| * | 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
* | Update man pageLibravatar Drew DeVault2017-04-03
| |
| * 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:五 ```
* Update README.mdLibravatar Drew DeVault2017-03-28
|
* Mention cap_sys_tty_config in readmeLibravatar Drew DeVault2017-03-27
|
* Merge pull request #1130 from oranenj/fix_move_next_crashLibravatar Drew DeVault2017-03-19
|\ | | | | Fix move next crash
| * Prevent "move next" and "move prev" commands from crashingLibravatar Jarkko Oranen2017-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1120 When the parent of a view is C_WORKSPACE and the movement direction is either MOVE_PREV or MOVE_NEXT, the code would attempt to move the views to the next output, but swayc_adjacent_output can't accept non-directional movement commands and causes undefined behaviour and a segfault. If the code is simply skipped, we end up in an infinite loop. Instead, we can allow containers whose parent is a C_WORKSPACE take the path that handles MOVE_PREV and MOVE_NEXT, which behaves as you would expect. I'm not certain that this fix is entirely correct as the desired behaviour of move_container is not very well defined, but it seems to work.
| * The default layout of a workspace should follow the outputLibravatar Jarkko Oranen2017-03-19
|/ | | | | | Hardcoding it to L_HORIZ does not make sense to me, as you get the unexpected behaviour that windows will be arranged horizontally until you switch the layout.
* Merge pull request #1126 from zandrmartin/prevent-fullscreen-focus-stealingLibravatar Drew DeVault2017-03-18
|\ | | | | prevent fullscreen focus thievery
| * prevent fullscreen focus thieveryLibravatar Zandr Martin2017-03-18
|/ | | | I believe this fixes #1102
* Merge pull request #1125 from zandrmartin/remove-unnecessary-todoLibravatar Drew DeVault2017-03-18
|\ | | | | remove unnecessary todo item
| * Merge branch 'master' into remove-unnecessary-todoLibravatar Drew DeVault2017-03-18
| |\ | |/ |/|
* | Merge pull request #1124 from zandrmartin/correct-typoLibravatar Drew DeVault2017-03-18
|\ \ | | | | | | wl_poitner -> wl_pointer
| * | wl_poitner -> wl_pointerLibravatar Zandr Martin2017-03-18
|/ /
| * remove unnecessary todo itemLibravatar Zandr Martin2017-03-18
|/ | | | | | As best I can tell this todo was intended to add workspace movement to the given output with the `workspace <ws> output <op>` command, but i3 does not behave this way.
* Merge pull request #1119 from oranenj/masterLibravatar Drew DeVault2017-03-18
|\ | | | | Fix off-by-one error when checking workspace_layout arguments
| * Merge branch 'master' into masterLibravatar Drew DeVault2017-03-18
| |\ | |/ |/|
* | Merge pull request #1121 from zandrmartin/registry-keyboard-capsLibravatar Drew DeVault2017-03-18
|\ \ | | | | | | add missing ! for wl seat keyboard caps
| * | add missing ! for wl seat capsLibravatar Zandr Martin2017-03-18
|/ /
| * Fix off-by-one error when checking workspace_layout argumentsLibravatar Jarkko Oranen2017-03-18
|/
* Merge pull request #1117 from jnsaff/masterLibravatar Drew DeVault2017-03-16
|\ | | | | Allow also 444 for security file mode
| * Allow also 444 for security file modeLibravatar Jaanus Torp2017-03-16
|/
* Merge pull request #1115 from snoack/missing-includesLibravatar Drew DeVault2017-03-14
|\ | | | | Superfluous include causes failures if WLC headers aren't installed globally
| * Removed superfluous include, causing failures if WLC headers aren't ↵Libravatar Sebastian Noack2017-03-14
|/ | | | installed globally
* Merge pull request #1108 from zandrmartin/new-command-aliasesLibravatar Drew DeVault2017-03-13
|\ | | | | deprecate new_window and new_float commands
| * Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliasesLibravatar Zandr Martin2017-03-13
| |\ | |/ |/|
* | Merge pull request #1113 from johnchen902/patch-1Libravatar Drew DeVault2017-03-12
|\ \ | | | | | | Fix trivial typo in sway.5.txt (right_ -> _right_)
| * | Fix trivial typo in sway.5.txt (right_ -> _right_)Libravatar John Chen2017-03-13
|/ / | | | | as title
* | UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
| |
* | Further indentation correctionsLibravatar Drew DeVault2017-03-10
| |
* | Correct indentationLibravatar Drew DeVault2017-03-10
| |
| * deprecate new_window and new_float commandsLibravatar Zandr Martin2017-03-09
|/
* Merge pull request #1105 from zandrmartin/fix-workspace-output-assignmentLibravatar Drew DeVault2017-03-08
|\ | | | | fix workspace output assignment
| * fix workspace output assignmentLibravatar Zandr Martin2017-03-08
|/
* Update unsupported packages link in readmeLibravatar Drew DeVault2017-03-02
|
* Merge pull request #1101 from 4e554c4c/worspace_namesLibravatar Drew DeVault2017-03-01
|\ | | | | Fix #1099: Allow spaces in worspace names
| * Fix #1099: Allow spaces in worspace namesLibravatar Calvin Lee2017-03-01
|/ | | | | | | | | This commit allows unquoted spaces in worspace names in order to keep compatability with i3. The names _must not_ contain the string "output" which is documented in 'sway.5' because how sway detects the `move <workspace> output <output>` command. Also I documented that "number" may be used before the worspace name without affecting how the name is evaluated.
* Merge pull request #1092 from 4e554c4c/move_floatingLibravatar Drew DeVault2017-03-01
|\ | | | | i3 feature support: Moving flotaing containers
| * Clarify move documentation for floating containersLibravatar Calvin Lee2017-03-01
| |
| * 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.
* Fix #1087Libravatar Drew DeVault2017-02-26
|
* Merge pull request #1086 from Fale/ignore-Wimplicit-fallthroughLibravatar Drew DeVault2017-02-26
|\ | | | | Ignore Wimplicit-fallthrough
| * Make it work for all compilersLibravatar Fabio Alessandro Locati2017-02-25
| |
| * Ignore Wimplicit-fallthroughLibravatar Fabio Alessandro Locati2017-02-25
|/
* Correct typo in swaylock(1)Libravatar Drew DeVault2017-02-25
|