aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-01-05Merge pull request #436 from Kaligule/masterDrew DeVault-4/+4
Clearer order of locations searched for config file.
2016-01-05Clearer order of locations searched for config file.Jøhannes Lippmann-4/+4
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-2/+2
2016-01-04Revert "Free wordexp_t in config.c:get_config_path"Drew DeVault-2/+0
This reverts commit 33b24736c78d9993a26d295ea3e56ad77d6f1390.
2016-01-04Free wordexp_t in config.c:get_config_pathDrew DeVault-0/+2
Thanks @jollywho
2016-01-05Merge pull request #433 from crondog/issue431Mikkel Oscar Lyderik-1/+5
Return focus to fullscreen view
2016-01-05Return focus to fullscreen viewcrondog-1/+5
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-2/+2
Fix overwriting current pressed keys.
2016-01-04Fix overwriting current pressed keys.Mikkel Oscar Lyderik-2/+2
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-3/+13
swaybar: fix logging
2016-01-04swaybar: fix loggingcrondog-3/+13
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-6/+14
swaybar: Implement workspace_buttons yes|no
2016-01-03swaybar: Implement workspace_buttons yes|noMikkel Oscar Lyderik-6/+14
2016-01-03Merge pull request #428 from mikkeloscar/bar-mode-indicatorDrew DeVault-7/+96
swaybar: Implement binding_mode_indicator
2016-01-03swaybar: Implement binding_mode_indicatorMikkel Oscar Lyderik-7/+96
2016-01-03Merge pull request #427 from mikkeloscar/ipc-updateDrew DeVault-40/+71
Refactor IPC server/client
2016-01-03Add type to returned response.Mikkel Oscar Lyderik-13/+39
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-19/+24
Adds custom IPC_EVENT_* types
2016-01-03swaybar: rename ipc_listen_sock.. to ipc_event_sock..Mikkel Oscar Lyderik-9/+9
2016-01-03Merge pull request #425 from mikkeloscar/bar-strip-ws-numDrew DeVault-1/+1
Only strip when starting with a num
2016-01-03Only strip when starting with a numMikkel Oscar Lyderik-1/+1
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-4/+38
swaybar: Implement strip_workspace_numbers
2016-01-03swaybar: Implement strip_workspace_numbersMikkel Oscar Lyderik-4/+38
2015-12-30Merge pull request #421 from crondog/splittoggleDrew DeVault-2/+24
split toggle
2015-12-31split togglecrondog-2/+24
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-0/+3
Dont try and fullscreen a workspace with no views
2015-12-30Dont try and fullscreen a workspace with no viewscrondog-0/+3
Found this completely by accident
2015-12-29Merge pull request #417 from mikkeloscar/remove-log-lineDrew DeVault-2/+0
saybar: remove stray logline
2015-12-29Merge pull request #418 from mikkeloscar/sway-handle-sigtermDrew DeVault-7/+24
Handle SIGTERM sent to sway
2015-12-29Handle SIGTERM sent to swayMikkel Oscar Lyderik-7/+24
This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416
2015-12-29saybar: remove stray loglineMikkel Oscar Lyderik-2/+0
2015-12-29Fix use-after-free when closing fullscreen viewsDrew DeVault-1/+5
2015-12-28Add bar to default configDrew DeVault-0/+12
Using somewhat saner colors than the i3 default
2015-12-28Add default wallpaperDrew DeVault-0/+15
Closes #238
2015-12-28Merge pull request #415 from mikkeloscar/bar-separatorDrew DeVault-7/+29
swaybar: Add support for custom separator symbol
2015-12-28swaybar: Add support for custom separator symbolMikkel Oscar Lyderik-7/+29
2015-12-28Merge pull request #414 from sce/fix_layout_calcDrew DeVault-12/+35
Fix layout calculations
2015-12-28handlers: geometry_request: Better debug output.S. Christoffer Eliesen-2/+2
Previous output was confusing.
2015-12-28arrange_windows_r: Round pixels to match reality, fixes calculations.S. Christoffer Eliesen-2/+24
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-8/+9
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-76/+240
swaybar: Add support for Airblade i3bar extensions
2015-12-27Update READMEDrew DeVault-1/+1
2015-12-27Merge pull request #410 from mikkeloscar/free-ipc-responseDrew DeVault-0/+1
swaybar: Free unused IPC response
2015-12-27swaybar: Free unused IPC responseMikkel Oscar Lyderik-0/+1
2015-12-27swaybar: if-else style fixesMikkel Oscar Lyderik-10/+5
2015-12-27swaybar: Add support for Airblade i3bar extensionsMikkel Oscar Lyderik-66/+235
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-0/+2
Focus new sibling added to container
2015-12-25Focus new sibling added to containerMikkel Oscar Lyderik-0/+2
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-1/+8
Trigger workspace init event (floating)
2015-12-25Trigger workspace init event (floating)Mikkel Oscar Lyderik-1/+8
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.