aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-04Merge pull request #432 from mikkeloscar/fix-sway-multikeyDrew DeVault
Fix overwriting current pressed keys.
2016-01-04Fix 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-03Merge pull request #430 from crondog/swaybarlogDrew DeVault
swaybar: fix logging
2016-01-04swaybar: fix loggingcrondog
Optionally turn on debugging in swaybar. I acidentally introduced persistent logging in a previous commit
2016-01-03Merge pull request #429 from mikkeloscar/bar-workspace-buttonsDrew DeVault
swaybar: Implement workspace_buttons yes|no
2016-01-03swaybar: Implement workspace_buttons yes|noMikkel Oscar Lyderik
2016-01-03Merge pull request #428 from mikkeloscar/bar-mode-indicatorDrew DeVault
swaybar: Implement binding_mode_indicator
2016-01-03swaybar: Implement binding_mode_indicatorMikkel Oscar Lyderik
2016-01-03Merge pull request #427 from mikkeloscar/ipc-updateDrew DeVault
Refactor IPC server/client
2016-01-03Add 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-03Add IPC event typesMikkel Oscar Lyderik
Adds custom IPC_EVENT_* types
2016-01-03swaybar: rename ipc_listen_sock.. to ipc_event_sock..Mikkel Oscar Lyderik
2016-01-03Merge pull request #425 from mikkeloscar/bar-strip-ws-numDrew DeVault
Only strip when starting with a num
2016-01-03Only strip when starting with a numMikkel Oscar Lyderik
This makes sure the `:` isn't striped if you have a workspace named: `:something`.
2016-01-03Merge pull request #424 from mikkeloscar/bar-strip-ws-numDrew DeVault
swaybar: Implement strip_workspace_numbers
2016-01-03swaybar: Implement strip_workspace_numbersMikkel Oscar Lyderik
2015-12-30Merge pull request #421 from crondog/splittoggleDrew DeVault
split toggle
2015-12-31split togglecrondog
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-29Merge pull request #419 from crondog/fullscreenDrew DeVault
Dont try and fullscreen a workspace with no views
2015-12-30Dont try and fullscreen a workspace with no viewscrondog
Found this completely by accident
2015-12-29Merge pull request #417 from mikkeloscar/remove-log-lineDrew DeVault
saybar: remove stray logline
2015-12-29Merge pull request #418 from mikkeloscar/sway-handle-sigtermDrew DeVault
Handle SIGTERM sent to sway
2015-12-29Handle SIGTERM sent to swayMikkel Oscar Lyderik
This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416
2015-12-29saybar: remove stray loglineMikkel Oscar Lyderik
2015-12-29Fix use-after-free when closing fullscreen viewsDrew DeVault
2015-12-28Add bar to default configDrew DeVault
Using somewhat saner colors than the i3 default
2015-12-28Add default wallpaperDrew DeVault
Closes #238
2015-12-28Merge pull request #415 from mikkeloscar/bar-separatorDrew DeVault
swaybar: Add support for custom separator symbol
2015-12-28swaybar: Add support for custom separator symbolMikkel Oscar Lyderik
2015-12-28Merge pull request #414 from sce/fix_layout_calcDrew DeVault
Fix layout calculations
2015-12-28handlers: geometry_request: Better debug output.S. Christoffer Eliesen
Previous output was confusing.
2015-12-28arrange_windows_r: Round pixels to match reality, fixes calculations.S. Christoffer Eliesen
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.
2015-12-28arrange_windows_r: Bring parent coordinates into layout calculations.S. Christoffer Eliesen
This brings consistency into the algorithm (instead of resetting and then fetching again).
2015-12-27Merge pull request #409 from mikkeloscar/bar-airblade-featuresDrew DeVault
swaybar: Add support for Airblade i3bar extensions
2015-12-27Update READMEDrew DeVault
2015-12-27Merge pull request #410 from mikkeloscar/free-ipc-responseDrew DeVault
swaybar: Free unused IPC response
2015-12-27swaybar: Free unused IPC responseMikkel Oscar Lyderik
2015-12-27swaybar: if-else style fixesMikkel Oscar Lyderik
2015-12-27swaybar: Add support for Airblade i3bar extensionsMikkel Oscar Lyderik
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.
2015-12-25Merge pull request #408 from mikkeloscar/add-focus-siblingDrew DeVault
Focus new sibling added to container
2015-12-25Focus new sibling added to containerMikkel Oscar Lyderik
This makes sure that the window being added to a container gets focus.
2015-12-25Merge pull request #407 from mikkeloscar/trigger-on-move-floatingDrew DeVault
Trigger workspace init event (floating)
2015-12-25Trigger workspace init event (floating)Mikkel Oscar Lyderik
Triggers workspace init event when moving a floating window to a new workspace. This is a follow up on #391 which didn't handle floating windows.
2015-12-25Merge pull request #406 from mikkeloscar/fix-swaybar-jsonDrew DeVault
swaybar: Fix json related crash.
2015-12-25swaybar: remove random whitespacesMikkel Oscar Lyderik
2015-12-25swaybar: Fix json related crash.Mikkel Oscar Lyderik
This should fix the random json related crashes in swaybar. The crashes occured because the same socket was used for listening on workspace events and requesting workspace info, resulting in a unreliable message queue on the socket. The solution is to use one socket for the events and one socket for reliably requesting workspace/output info.
2015-12-24Merge pull request #403 from crondog/masterDrew DeVault
swaybar: min_width and align