Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-08 | Reduce duplicate code | Mikkel Oscar Lyderik | |
2016-01-08 | Implement 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-08 | Add function for duplication a sway_binding | Mikkel Oscar Lyderik | |
2016-01-08 | Add function for getting list of modifier names. | Mikkel Oscar Lyderik | |
Get an array of modifier names from modifier masks. | |||
2016-01-07 | Merge pull request #439 from mikkeloscar/bindsym-release | Drew DeVault | |
Implement bindsym --release | |||
2016-01-07 | Implement bindsym --release | Mikkel 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-06 | Merge pull request #434 from mikkeloscar/detect-modifier | Drew DeVault | |
Send IPC modifier event on bar_modifier up/down | |||
2016-01-05 | Fix whitespaces in cmake config | Mikkel Oscar Lyderik | |
2016-01-05 | Merge branch 'master' of github.com:SirCmpwn/sway | Mikkel Oscar Lyderik | |
2016-01-05 | Fix whitespace issues. | Mikkel Oscar Lyderik | |
2016-01-05 | Only send modifier event once for active modifiers | Mikkel 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-05 | Merge pull request #436 from Kaligule/master | Drew DeVault | |
Clearer order of locations searched for config file. | |||
2016-01-05 | Clearer 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-05 | Init layout before checking config | Mikkel Oscar Lyderik | |
2016-01-05 | Add modifier key to bar_config json | Mikkel Oscar Lyderik | |
2016-01-05 | Move modifier name table to common/util.c | Mikkel Oscar Lyderik | |
Lookup of modifier names is required in several places, thus it makes sense to move it to a general place. | |||
2016-01-04 | Revert "Free wordexp_t in config.c:get_config_path" | Drew DeVault | |
This reverts commit 33b24736c78d9993a26d295ea3e56ad77d6f1390. | |||
2016-01-05 | Send IPC modifier event on bar_modifier up/down | Mikkel 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-04 | Free wordexp_t in config.c:get_config_path | Drew DeVault | |
Thanks @jollywho | |||
2016-01-05 | Merge pull request #433 from crondog/issue431 | Mikkel Oscar Lyderik | |
Return focus to fullscreen view | |||
2016-01-05 | Return focus to fullscreen view | crondog | |
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-05 | Detect bar modifier pressed/released | Mikkel Oscar Lyderik | |
2016-01-04 | Merge pull request #432 from mikkeloscar/fix-sway-multikey | Drew DeVault | |
Fix overwriting current pressed keys. | |||
2016-01-04 | Fix overwriting current pressed keys. | Mikkel Oscar Lyderik | |
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`. | |||
2016-01-03 | Merge pull request #430 from crondog/swaybarlog | Drew DeVault | |
swaybar: fix logging | |||
2016-01-04 | swaybar: fix logging | crondog | |
Optionally turn on debugging in swaybar. I acidentally introduced persistent logging in a previous commit | |||
2016-01-03 | Merge pull request #429 from mikkeloscar/bar-workspace-buttons | Drew DeVault | |
swaybar: Implement workspace_buttons yes|no | |||
2016-01-03 | swaybar: Implement workspace_buttons yes|no | Mikkel Oscar Lyderik | |
2016-01-03 | Merge pull request #428 from mikkeloscar/bar-mode-indicator | Drew DeVault | |
swaybar: Implement binding_mode_indicator | |||
2016-01-03 | swaybar: Implement binding_mode_indicator | Mikkel Oscar Lyderik | |
2016-01-03 | Merge pull request #427 from mikkeloscar/ipc-update | Drew DeVault | |
Refactor IPC server/client | |||
2016-01-03 | Add type to returned response. | Mikkel Oscar Lyderik | |
Makes `ipc_recv_response` return a struct with size, type and payload rather than just the payload string. This is useful if the type has to be checked on the client. | |||
2016-01-03 | Add IPC event types | Mikkel Oscar Lyderik | |
Adds custom IPC_EVENT_* types | |||
2016-01-03 | swaybar: rename ipc_listen_sock.. to ipc_event_sock.. | Mikkel Oscar Lyderik | |
2016-01-03 | Merge pull request #425 from mikkeloscar/bar-strip-ws-num | Drew DeVault | |
Only strip when starting with a num | |||
2016-01-03 | Only strip when starting with a num | Mikkel Oscar Lyderik | |
This makes sure the `:` isn't striped if you have a workspace named: `:something`. | |||
2016-01-03 | Merge pull request #424 from mikkeloscar/bar-strip-ws-num | Drew DeVault | |
swaybar: Implement strip_workspace_numbers | |||
2016-01-03 | swaybar: Implement strip_workspace_numbers | Mikkel Oscar Lyderik | |
2015-12-30 | Merge pull request #421 from crondog/splittoggle | Drew DeVault | |
split toggle | |||
2015-12-31 | split toggle | crondog | |
Not sure if you will accept this, but i find it useful (I use it when opening new terminal windows on a workspace v2: add short hand command and docs | |||
2015-12-29 | Merge pull request #419 from crondog/fullscreen | Drew DeVault | |
Dont try and fullscreen a workspace with no views | |||
2015-12-30 | Dont try and fullscreen a workspace with no views | crondog | |
Found this completely by accident | |||
2015-12-29 | Merge pull request #417 from mikkeloscar/remove-log-line | Drew DeVault | |
saybar: remove stray logline | |||
2015-12-29 | Merge pull request #418 from mikkeloscar/sway-handle-sigterm | Drew DeVault | |
Handle SIGTERM sent to sway | |||
2015-12-29 | Handle SIGTERM sent to sway | Mikkel Oscar Lyderik | |
This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416 | |||
2015-12-29 | saybar: remove stray logline | Mikkel Oscar Lyderik | |
2015-12-29 | Fix use-after-free when closing fullscreen views | Drew DeVault | |
2015-12-28 | Add bar to default config | Drew DeVault | |
Using somewhat saner colors than the i3 default | |||
2015-12-28 | Add default wallpaper | Drew DeVault | |
Closes #238 | |||
2015-12-28 | Merge pull request #415 from mikkeloscar/bar-separator | Drew DeVault | |
swaybar: Add support for custom separator symbol |