summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* 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
| |
* | Fix whitespaces in cmake configLibravatar Mikkel Oscar Lyderik2016-01-05
| |
* | Merge branch 'master' of github.com:SirCmpwn/swayLibravatar Mikkel Oscar Lyderik2016-01-05
|\ \
| * \ Merge pull request #436 from Kaligule/masterLibravatar Drew DeVault2016-01-05
| |\ \ | | | | | | | | Clearer order of locations searched for config file.
| | * | 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
* | Merge pull request #432 from mikkeloscar/fix-sway-multikeyLibravatar Drew DeVault2016-01-04
|\ \ | |/ |/| Fix overwriting current pressed keys.
| * 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`.
* | Merge pull request #430 from crondog/swaybarlogLibravatar Drew DeVault2016-01-03
|\ \ | |/ |/| swaybar: fix logging
| * swaybar: fix loggingLibravatar crondog2016-01-04
|/ | | | | Optionally turn on debugging in swaybar. I acidentally introduced persistent logging in a previous commit
* Merge pull request #429 from mikkeloscar/bar-workspace-buttonsLibravatar Drew DeVault2016-01-03
|\ | | | | swaybar: Implement workspace_buttons yes|no
| * swaybar: Implement workspace_buttons yes|noLibravatar Mikkel Oscar Lyderik2016-01-03
|/
* Merge pull request #428 from mikkeloscar/bar-mode-indicatorLibravatar Drew DeVault2016-01-03
|\ | | | | swaybar: Implement binding_mode_indicator
| * swaybar: Implement binding_mode_indicatorLibravatar Mikkel Oscar Lyderik2016-01-03
|/
* Merge pull request #427 from mikkeloscar/ipc-updateLibravatar Drew DeVault2016-01-03
|\ | | | | Refactor IPC server/client
| * Add type to returned response.Libravatar Mikkel Oscar Lyderik2016-01-03
| | | | | | | | | | | | | | 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.
| * Add IPC event typesLibravatar Mikkel Oscar Lyderik2016-01-03
| | | | | | | | Adds custom IPC_EVENT_* types
| * swaybar: rename ipc_listen_sock.. to ipc_event_sock..Libravatar Mikkel Oscar Lyderik2016-01-03
| |
* | Merge pull request #425 from mikkeloscar/bar-strip-ws-numLibravatar Drew DeVault2016-01-03
|\ \ | | | | | | Only strip when starting with a num
| * | Only strip when starting with a numLibravatar Mikkel Oscar Lyderik2016-01-03
| | | | | | | | | | | | | | | This makes sure the `:` isn't striped if you have a workspace named: `:something`.
* | | Merge pull request #424 from mikkeloscar/bar-strip-ws-numLibravatar Drew DeVault2016-01-03
|\| | | |/ |/| swaybar: Implement strip_workspace_numbers
| * swaybar: Implement strip_workspace_numbersLibravatar Mikkel Oscar Lyderik2016-01-03
|/
* Merge pull request #421 from crondog/splittoggleLibravatar Drew DeVault2015-12-30
|\ | | | | split toggle
| * split toggleLibravatar crondog2015-12-31
|/ | | | | | | 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
* Merge pull request #419 from crondog/fullscreenLibravatar Drew DeVault2015-12-29
|\ | | | | Dont try and fullscreen a workspace with no views
| * Dont try and fullscreen a workspace with no viewsLibravatar crondog2015-12-30
|/ | | | Found this completely by accident
* Merge pull request #417 from mikkeloscar/remove-log-lineLibravatar Drew DeVault2015-12-29
|\ | | | | saybar: remove stray logline
| * saybar: remove stray loglineLibravatar Mikkel Oscar Lyderik2015-12-29
| |
* | Merge pull request #418 from mikkeloscar/sway-handle-sigtermLibravatar Drew DeVault2015-12-29
|\ \ | | | | | | Handle SIGTERM sent to sway
| * | Handle SIGTERM sent to swayLibravatar Mikkel Oscar Lyderik2015-12-29
| | | | | | | | | | | | | | | | | | | | | This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416
* | | Fix use-after-free when closing fullscreen viewsLibravatar Drew DeVault2015-12-29
| | |
* | | Add bar to default configLibravatar Drew DeVault2015-12-28
| | | | | | | | | | | | Using somewhat saner colors than the i3 default
* | | Add default wallpaperLibravatar Drew DeVault2015-12-28
| |/ |/| | | | | Closes #238
* | Merge pull request #415 from mikkeloscar/bar-separatorLibravatar Drew DeVault2015-12-28
|\ \ | | | | | | swaybar: Add support for custom separator symbol
| * | swaybar: Add support for custom separator symbolLibravatar Mikkel Oscar Lyderik2015-12-28
| | |
* | | Merge pull request #414 from sce/fix_layout_calcLibravatar Drew DeVault2015-12-28
|\ \ \ | |/ / |/| / | |/ Fix layout calculations
| * handlers: geometry_request: Better debug output.Libravatar S. Christoffer Eliesen2015-12-28
| | | | | | | | Previous output was confusing.
| * arrange_windows_r: Round pixels to match reality, fixes calculations.Libravatar S. Christoffer Eliesen2015-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the width or height of a container can't be evenly distributed to its children, then the layout algorithm still thought it got it right (due to using decimals) which caused a gap of one or more pixels for some window arrangements. This is fixed by this patch by first rounding off the width and height (so that decimals are never introduced) and then adjusting the last view in a container to fill the remaining pixels (which now is counted correctly due to the decimals being removed). Also, due to the way gaps are implemented, an odd sized gap can never be aligned properly, so just adjust to closest even number.
| * arrange_windows_r: Bring parent coordinates into layout calculations.Libravatar S. Christoffer Eliesen2015-12-28
|/ | | | | This brings consistency into the algorithm (instead of resetting and then fetching again).