aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-22Merge pull request #459 from crondog/sigpipeMikkel Oscar Lyderik
Prevent ipc from crashing sway
2016-01-22Prevent ipc from crashing swaycrondog
2016-01-21Only update visibility if WS isn't destroyed afterMikkel Oscar Lyderik
No need to update visibility if the workspace will be destroyed right after.
2016-01-21Merge pull request #456 from gpyh/fix-config-dirDrew DeVault
Fix issue #455
2016-01-21Fix issue #455Yacine Hmito
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
2016-01-21Fix memory leak in config.cDrew DeVault
Thanks @jollywho
2016-01-21Strip stray whitespaceMikkel Oscar Lyderik
2016-01-19Merge pull request #440 from SethBarberee/zsh-completionsDrew DeVault
Basic Zsh auto-completion for --options
2016-01-19Merge pull request #448 from colemickens/libinputDrew DeVault
libinput configuration
2016-01-19libinputCole Mickens
2016-01-17added basic zsh shell completion for sway, swaybg, and swaygrabSeth Barberee
2016-01-17Add ffmpeg/imagemagick to depenency listDrew DeVault
2016-01-17Copy filename from argvMikkel Oscar Lyderik
Fix #449
2016-01-15Merge pull request #445 from crondog/assignDrew DeVault
cmd_assign
2016-01-15cmd_assigncrondog
This implements cmd_assign. Basically a copy and paste from cmd_for_window however it has → handling and injects a `move container to workspace`
2016-01-11Strip quotes from workspace name v2Mikkel Oscar Lyderik
This is a more general fix for #444 This reverts part of commit 222f0d44fcda494dca4d5278493a3082068743de.
2016-01-11Strip quotes of each argv when handling commandMikkel Oscar Lyderik
2016-01-11Strip quotes from workspace name.Mikkel Oscar Lyderik
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.
2016-01-09Merge pull request #443 from mikkeloscar/binding-event-input_codeDrew DeVault
Add bindcode to binding events.
2016-01-09Add backwards compatability for binding eventMikkel Oscar Lyderik
2016-01-09Add bindcode to binding events.Mikkel Oscar Lyderik
2016-01-09Make enable-binding-event option have an affect.Mikkel Oscar Lyderik
The option was added to late so it was never set in the build.
2016-01-09Merge pull request #442 from mikkeloscar/bincodeDrew DeVault
Add support for bincode command
2016-01-09Add support for bincode commandMikkel Oscar Lyderik
If a bindsym and bincode maps to the same combination, the last one will overwrite any previous mappings.
2016-01-08Make wallpaper optional (cmake flag)Drew DeVault
2016-01-08Unescape string after doing var replacementMikkel Oscar Lyderik
Fix #426
2016-01-08Merge pull request #438 from mikkeloscar/binding-eventDrew DeVault
Implement IPC binding event (keyboard)
2016-01-08Make IPC binding event support a compile time opt.Mikkel Oscar Lyderik
2016-01-08Reduce duplicate codeMikkel Oscar Lyderik
2016-01-08Implement IPC binding event (keyboard)Mikkel Oscar Lyderik
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
2016-01-08Add function for duplication a sway_bindingMikkel Oscar Lyderik
2016-01-08Add function for getting list of modifier names.Mikkel Oscar Lyderik
Get an array of modifier names from modifier masks.
2016-01-07Merge pull request #439 from mikkeloscar/bindsym-releaseDrew DeVault
Implement bindsym --release
2016-01-07Implement bindsym --releaseMikkel Oscar Lyderik
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.
2016-01-06Merge pull request #434 from mikkeloscar/detect-modifierDrew DeVault
Send IPC modifier event on bar_modifier up/down
2016-01-05Fix whitespaces in cmake configMikkel Oscar Lyderik
2016-01-05Merge branch 'master' of github.com:SirCmpwn/swayMikkel Oscar Lyderik
2016-01-05Fix whitespace issues.Mikkel Oscar Lyderik
2016-01-05Only send modifier event once for active modifiersMikkel Oscar Lyderik
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`.
2016-01-05Merge pull request #436 from Kaligule/masterDrew DeVault
Clearer order of locations searched for config file.
2016-01-05Clearer order of locations searched for config file.Jøhannes Lippmann
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.
2016-01-05Init layout before checking configMikkel Oscar Lyderik
2016-01-05Add modifier key to bar_config jsonMikkel Oscar Lyderik
2016-01-05Move modifier name table to common/util.cMikkel Oscar Lyderik
Lookup of modifier names is required in several places, thus it makes sense to move it to a general place.
2016-01-04Revert "Free wordexp_t in config.c:get_config_path"Drew DeVault
This reverts commit 33b24736c78d9993a26d295ea3e56ad77d6f1390.
2016-01-05Send IPC modifier event on bar_modifier up/downMikkel Oscar Lyderik
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" }
2016-01-04Free wordexp_t in config.c:get_config_pathDrew DeVault
Thanks @jollywho
2016-01-05Merge pull request #433 from crondog/issue431Mikkel Oscar Lyderik
Return focus to fullscreen view
2016-01-05Return focus to fullscreen viewcrondog
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
2016-01-05Detect bar modifier pressed/releasedMikkel Oscar Lyderik