aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* 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).
* Merge pull request #409 from mikkeloscar/bar-airblade-featuresLibravatar Drew DeVault2015-12-27
|\ | | | | swaybar: Add support for Airblade i3bar extensions
| * swaybar: if-else style fixesLibravatar Mikkel Oscar Lyderik2015-12-27
| |
| * swaybar: Add support for Airblade i3bar extensionsLibravatar Mikkel Oscar Lyderik2015-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This extends the i3bar protocol implementation with the following features from @Airblade/i3: * background * border * border_top, border_bottom, border_left, border_right A block will now be rendered like this: ``` (border_left + margin) + width + (margin + border_right) + sep ``` Where `border_left/border_right` and their related margin is only drawn if the `border` is specified and the border has a width > 0 (default is 1). `border_top` and `border_bottom` does not affect the height of the bar (no margin is added), thus it will be drawn behind the text if it is too big. The user should specify a bar height if more space between top/bottom borders are required.
* | Update READMELibravatar Drew DeVault2015-12-27
| |
* | Merge pull request #410 from mikkeloscar/free-ipc-responseLibravatar Drew DeVault2015-12-27
|\ \ | |/ |/| swaybar: Free unused IPC response
| * swaybar: Free unused IPC responseLibravatar Mikkel Oscar Lyderik2015-12-27
|/
* Merge pull request #408 from mikkeloscar/add-focus-siblingLibravatar Drew DeVault2015-12-25
|\ | | | | Focus new sibling added to container