aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
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.
2015-12-25Merge pull request #406 from mikkeloscar/fix-swaybar-jsonDrew DeVault-19/+29
swaybar: Fix json related crash.
2015-12-25swaybar: remove random whitespacesMikkel Oscar Lyderik-4/+4
2015-12-25swaybar: Fix json related crash.Mikkel Oscar Lyderik-15/+25
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-18/+30
swaybar: min_width and align
2015-12-24Merge pull request #405 from robotanarchy/add-voidwiki-link-to-readmeDrew DeVault-0/+1
Readme: add link to sway article in Void Linux wiki
2015-12-25Merge branch 'master' of https://github.com/SirCmpwn/swaycrondog-61/+183
2015-12-24Readme: add link to sway article in Void Linux wikirobotanarchy-0/+1
2015-12-24Merge pull request #402 from progandy/without-fgetsDrew DeVault-60/+173
swaybar: read status line without fgets
2015-12-24Merge pull request #404 from StephenBrown2/readme_feature_supportDrew DeVault-1/+4
Add references to other feature support issues to README
2015-12-24swaybar: Replace fgets with read and own bufferprogandy-54/+167
2015-12-23Add references to other feature support issues to READMEStephen Brown II-1/+4
2015-12-23Merge pull request #401 from mikkeloscar/travis-clang-buildDrew DeVault-0/+6
Add clang build to travis
2015-12-24swaybar: min_width and aligncrondog-20/+32
2015-12-24swaybar: fix array indices in i3json_handleprogandy-6/+6
2015-12-23Add clang build to travisMikkel Oscar Lyderik-0/+6
2015-12-23Merge pull request #400 from gpyh/forgot_includeDrew DeVault-0/+1
Bugfix: Added include(GNUInstallDirs)
2015-12-23Added include(GNUInstallDirs)Yacine Hmito-0/+1
Fixes configuration not properly installed since f02cf75
2015-12-23Merge pull request #398 from juju2143/bug-correction-1Drew DeVault-0/+1
swaygrab: Fix memory leak when recording videos
2015-12-23Merge pull request #399 from gpyh/dont-hardcode-pathDrew DeVault-11/+6
Use SYSCONFDIR as recommended
2015-12-23Use SYSCONFDIR as recommendedYacine Hmito-11/+6
- swaylock config path not hardcoded anymore - the unusual and weird FALLBACK_CONFIG_DIR is no more
2015-12-22swaygrab: Fix memory leak when recording videosJulien Savard-0/+1
2015-12-22Merge pull request #396 from crondog/fixbarDrew DeVault-4/+3
Stop swaybar from not rendering after the first go around
2015-12-23Stop swaybar from not rendering after the first go aroundcrondog-4/+3
I am not sure if this is a correct issue/fix but on my system at least after an i3bar protocol is detected this while loop never goes back around meaning it doesnt process the status line anymore.
2015-12-22Merge pull request #394 from progandy/i3bar-json-protocolDrew DeVault-11/+334
swaybar: I3bar json protocol
2015-12-22swaybar: fix memory leaksprogandy-2/+48
2015-12-22swaybar: add a visible separator between elementsprogandy-4/+17