aboutsummaryrefslogtreecommitdiffstats
path: root/sway
Commit message (Collapse)AuthorAge
* commands: move position mouseLibravatar crondog2016-01-28
| | | | | Bounds checking works ok except it overlaps the bar. Just like with normal floating. Should be fixed once swaybar is fixed.
* font: Allow adding font to the config. In prep for border titlesLibravatar crondog2016-01-27
| | | | v2: Give default font and make bar use it if no bar font
* Fix returning to sway after swaylock completesLibravatar Drew DeVault2016-01-26
|
* Add quotes to multiword arguments.Libravatar Mikkel Oscar Lyderik2016-01-25
| | | | | | | | | | | | | | | | | | | | | This adds quotes around multiword arguments before they are passed to `/bin/sh -c` in an exec command. Example: I connect to irc like this: exec termite -e "mosh server tmux a" Without this patch the arguments are passed to sh as: termite -e mosh server tmux a When it should be: termite -e "mosh server tmux a" For the command to work.
* Merge pull request #457 from mikkeloscar/move-view-fixLibravatar Drew DeVault2016-01-23
|\ | | | | Fix rendering of view when moving to new workspace
| * Fix rendering of view when moving to new workspaceLibravatar Mikkel Oscar Lyderik2016-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a possible fix for #384. To be honest I don't fully understand why this bug is happening, but I have narrowed it down to the view stack in wlc and how sway orders views in very specific situations (those described in #384). Anyway this should fix the problem by eliminating the call to `wlc_view_bring_to_front` which isn't really needed anyway since sending all invisible views to the back is the same as bringing all visible views to the front (rotating the view stack).
* | Add new wlc thing to viewsLibravatar Drew DeVault2016-01-23
| |
* | Revert "s/numlen/log10/g"Libravatar Drew DeVault2016-01-23
| | | | | | | | This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
* | s/numlen/log10/gLibravatar Drew DeVault2016-01-23
| |
* | commands: Fix memory allocation in assignLibravatar Quentin Glidic2016-01-23
| | | | | | | | | | | | Also use the safer snprintf since we just computed the size. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* | commands: Fix usage of arrow in assignLibravatar Quentin Glidic2016-01-23
| | | | | | | | Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* | sway-input: fix typoLibravatar Christoph Gysin2016-01-23
| |
* | manpage: fix sway-input layoutLibravatar Mikkel Oscar Lyderik2016-01-22
| |
* | manpage: add references sway.5 <-> sway-input.5Libravatar Mikkel Oscar Lyderik2016-01-22
| |
* | Fix generating sway-input.5 manpageLibravatar Mikkel Oscar Lyderik2016-01-22
| |
* | cmake: fix libinput include dirsLibravatar Mikkel Oscar Lyderik2016-01-22
| |
* | Prevent ipc from crashing swayLibravatar crondog2016-01-22
|/
* Only update visibility if WS isn't destroyed afterLibravatar Mikkel Oscar Lyderik2016-01-21
| | | | | No need to update visibility if the workspace will be destroyed right after.
* Fix issue #455Libravatar Yacine Hmito2016-01-21
| | | | | | | | CMAKE_INSTALL_FULL_SYSCONFIG is not actually passed to the C preprocessor. I remember it working, so I must have messed up somewhere last time I touched this. This is fixed by manually passing its value to the C preprocessor through the SYSCONFDIR definition
* Fix memory leak in config.cLibravatar Drew DeVault2016-01-21
| | | | Thanks @jollywho
* Strip stray whitespaceLibravatar Mikkel Oscar Lyderik2016-01-21
|
* libinputLibravatar Cole Mickens2016-01-19
|
* cmd_assignLibravatar crondog2016-01-15
| | | | | | This implements cmd_assign. Basically a copy and paste from cmd_for_window however it has → handling and injects a `move container to workspace`
* Strip quotes from workspace name v2Libravatar Mikkel Oscar Lyderik2016-01-11
| | | | | | This is a more general fix for #444 This reverts part of commit 222f0d44fcda494dca4d5278493a3082068743de.
* Strip quotes of each argv when handling commandLibravatar Mikkel Oscar Lyderik2016-01-11
|
* Strip quotes from workspace name.Libravatar Mikkel Oscar Lyderik2016-01-11
| | | | | | | | Fix #444 This is a temporary fix, the real fix is to store the commands as a formatted argv array, so they don't have to be reformatted all over the place.
* Add backwards compatability for binding eventLibravatar Mikkel Oscar Lyderik2016-01-09
|
* Add bindcode to binding events.Libravatar Mikkel Oscar Lyderik2016-01-09
|
* Add support for bincode commandLibravatar Mikkel Oscar Lyderik2016-01-09
| | | | | If a bindsym and bincode maps to the same combination, the last one will overwrite any previous mappings.
* Unescape string after doing var replacementLibravatar Mikkel Oscar Lyderik2016-01-08
| | | | Fix #426
* Make IPC binding event support a compile time opt.Libravatar Mikkel Oscar Lyderik2016-01-08
|
* Reduce duplicate codeLibravatar Mikkel Oscar Lyderik2016-01-08
|
* Implement IPC binding event (keyboard)Libravatar Mikkel Oscar Lyderik2016-01-08
| | | | | | | | | | | | | | | | | | | | | | | This implements the IPC binding event for keyboard bindings. It is slightly different from the i3 implementation [1] since sway supports more than one non-modifier key in a binding. Thus the json interface has been changed from: { ... "symbol": "t", ... } to: { ... "symbols": [ "t" ], ... } [1] http://i3wm.org/docs/ipc.html#_binding_event
* Add function for duplication a sway_bindingLibravatar Mikkel Oscar Lyderik2016-01-08
|
* Implement bindsym --releaseLibravatar Mikkel Oscar Lyderik2016-01-07
| | | | | | | | | | | This is a "simple" version of --release (same as i3) that only supports a binding that contain one normal key. e.g.: bindsym --release $mod+x exec somthing-fun I didn't bother implementing it for a combination like `$mod+x+z` since it is a bit tricky to get right and also a bit weird to actually do on a keyboard.
* Merge pull request #434 from mikkeloscar/detect-modifierLibravatar Drew DeVault2016-01-06
|\ | | | | Send IPC modifier event on bar_modifier up/down
| * Only send modifier event once for active modifiersLibravatar Mikkel Oscar Lyderik2016-01-05
| | | | | | | | | | | | | | | | This makes sure that a modifier event is only sent for active bar modifiers, and that it is only sent once for each of those modifiers. An active bar modifier is a modifier defined for a bar with `mode hide` and `hidden_state hide`.
| * Add modifier key to bar_config jsonLibravatar Mikkel Oscar Lyderik2016-01-05
| |
| * Move modifier name table to common/util.cLibravatar Mikkel Oscar Lyderik2016-01-05
| | | | | | | | | | Lookup of modifier names is required in several places, thus it makes sense to move it to a general place.
| * Send IPC modifier event on bar_modifier up/downLibravatar Mikkel Oscar Lyderik2016-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detects when a bar modifier key is pressed/released and sends a modifier IPC event to any listeners (usually swaybars). This way a swaybar can listen on the modifier event and hide/show the bar accordingly (not implemented yet) The modifier event looks like this: { "change": "pressed", // or released "modifier": "Mod4" }
| * Detect bar modifier pressed/releasedLibravatar Mikkel Oscar Lyderik2016-01-05
| |
* | Merge branch 'master' of github.com:SirCmpwn/swayLibravatar Mikkel Oscar Lyderik2016-01-05
|\ \
| * | Clearer order of locations searched for config file.Libravatar Jøhannes Lippmann2016-01-05
| | | | | | | | | | | | | | | | | | | | | The i3wm config locations are visited _before_ using the fallback configs. The man page was confusing - it talked about the fallback configs first, but also said they are looked at "at last". By changing the order of the sentences, this should be clearer.
* | | Fix whitespace issues.Libravatar Mikkel Oscar Lyderik2016-01-05
|/ /
* | Init layout before checking configLibravatar Mikkel Oscar Lyderik2016-01-05
| |
* | Revert "Free wordexp_t in config.c:get_config_path"Libravatar Drew DeVault2016-01-04
| | | | | | | | This reverts commit 33b24736c78d9993a26d295ea3e56ad77d6f1390.
* | Free wordexp_t in config.c:get_config_pathLibravatar Drew DeVault2016-01-04
| | | | | | | | Thanks @jollywho
* | Merge pull request #433 from crondog/issue431Libravatar Mikkel Oscar Lyderik2016-01-05
|\ \ | |/ |/| Return focus to fullscreen view
| * Return focus to fullscreen viewLibravatar crondog2016-01-05
| | | | | | | | | | | | This fixes https://github.com/SirCmpwn/sway/issues/431 by returning focus to the fullscreen view. Also it fixes the issue with the fullscreen view pointer not being set which did my head in
* | Fix overwriting current pressed keys.Libravatar Mikkel Oscar Lyderik2016-01-04
|/ | | | | | This fixes a bug where the key at index 0 in the `key_state_array` would be overwritten by the next pressed key. This broke any bindings consisting of multiple non-mod keys like: `$mod+a+b`.