aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2015-12-20extensions: panel_config->resource => wl_surface_res.S. Christoffer Eliesen-6/+8
Change the name to something less ambigious.
2015-12-19Merge pull request #366 from mikkeloscar/fix-swaybar-high-cpuDrew DeVault-35/+50
swaybar: use select instead of busyloop
2015-12-19swaybar: use select instead of busyloopMikkel Oscar Lyderik-35/+50
Use of busyloop caused high cpu usage for sway because swaybar had to be redrawn all the time. By using select instead the bar only has to be redrawn when the status_command changes (i.e. every second) or when the workspaces are updated. Fix #345
2015-12-19Merge pull request #364 from cyberhuman/masterDrew DeVault-0/+1
Update readme dependency list and build instructions
2015-12-19Update readme dependency listRaman Varabets-0/+1
2015-12-18Merge pull request #362 from crondog/masterDrew DeVault-1/+18
swaybar: use position from config
2015-12-19swaybar: use position from configcrondog-1/+18
2015-12-18Just bail if ws_json is fucked upDrew DeVault-1/+1
2015-12-18Wow that was stupidDrew DeVault-1/+1
2015-12-18I'm still getting crashes without this lineDrew DeVault-0/+3
2015-12-18Implement compositor support for swaylockDrew DeVault-4/+36
This makes swaylock more or less work.
2015-12-18Fix lock extension setup in compositorDrew DeVault-4/+4
2015-12-18Merge pull request #361 from mikkeloscar/i3bar-commandDrew DeVault-9/+26
Add support for running swaybar_command
2015-12-19Add support for running swaybar_commandMikkel Oscar Lyderik-9/+26
2015-12-18Fix default workspace name generationDrew DeVault-16/+29
This fixes the issue where workspace 10 ends up being the default.
2015-12-18Merge pull request #360 from sce/fix_arrange_windowsDrew DeVault-11/+10
Fix arrange windows
2015-12-18Drop sway-xorg.desktopDrew DeVault-10/+0
2015-12-18Merge pull request #359 from mikkeloscar/i3bar-commandDrew DeVault-0/+21
Add bar option: swaybar_command <command>
2015-12-19Add bar option: swaybar_command <command>Mikkel Oscar Lyderik-0/+21
2015-12-18Merge pull request #358 from mikkeloscar/reload-swaybg-swaybarDrew DeVault-44/+135
Reload swaybar/swaybg on config reload.
2015-12-18layout: arrange_windows: Partially fix swaybar irregularties.S. Christoffer Eliesen-5/+5
2015-12-18layout: arrange_windows: Fix/better debug output.S. Christoffer Eliesen-6/+5
2015-12-18Terminate children when freeing output containerMikkel Oscar Lyderik-8/+18
2015-12-18Reload swaybar/swaybg on config reload.Mikkel Oscar Lyderik-44/+125
This works by tracking the pids of the child processes in the related output container and terminating the processes and spawning new ones on a config reload. Should solve: #347
2015-12-18Merge pull request #357 from sce/fix_swaybar_crashesDrew DeVault-12/+0
swaybar: ipc_update_ws: Fix memory corruption.
2015-12-18swaybar: ipc_update_ws: Fix memory corruption.S. Christoffer Eliesen-12/+0
json_object_object_get_ex does not require json_object_put according to docs, this should fix the random crashes.
2015-12-18Fix possible segfault in swaybarDrew DeVault-0/+4
2015-12-18Add shims for swaylock on compositorDrew DeVault-12/+59
2015-12-18Merge pull request #356 from sce/output_vs_workspace_sizeDrew DeVault-20/+29
layout: Keep output at the correct size, workspace can be smaller.
2015-12-18layout: Keep output at the correct size, workspace can be smaller.S. Christoffer Eliesen-20/+29
If the output is not at the correct size then that info must be queried from wlc. The output size is used by e.g. seamless mouse to detect output edges. With this patch the output size is now correct and the workspace size is adjusted according to any panels. Without this patch seamless mouse would fail to detect outputs above/below each other if there was a panel in between because the output would offically end where the panel started, not at the actual screen edge.
2015-12-18Merge pull request #355 from sce/fix_moving_last_wsDrew DeVault-1/+4
focus: Fix moving last workspace.
2015-12-18Merge pull request #354 from sce/fix_swaybar_for_fedoraDrew DeVault-1/+0
swaybar: Remove stropts.h, fixes build for fedora.
2015-12-18focus: Fix moving last workspace.S. Christoffer Eliesen-1/+4
If there's only one workspace on an output and it's moved to a different output then active workspace will be NULL.
2015-12-18swaybar: Remove stropts.h, fixes build for fedora.S. Christoffer Eliesen-1/+0
Turns out that fedora killed off stropts.h some time ago [1] and removing it seems to work just fine. (Tested on Fedora 23) [1] https://bugzilla.redhat.com/show_bug.cgi?id=439403
2015-12-17Merge pull request #353 from mikkeloscar/swaybar-close-statuscmdDrew DeVault-1/+41
swaybar: terminate status_command process
2015-12-18swaybar: terminate status_command processMikkel Oscar Lyderik-1/+41
Fix #346 Send SIGTERM to the `status_command` process before swaybar exits.
2015-12-17Merge pull request #352 from progandy/workspace-numbersDrew DeVault-5/+57
Workspace numbers
2015-12-18sway: insert numbered workspaces in orderprogandy-1/+23
fixes #308 Ordered by number ascending, with insert before same numbers. Workspaces without numbers are appended at the end of the list. Example order: 1 2:named 3:the_second 3:the_first 9 FIRST_NAME SECOND_NAME ...
2015-12-18sway: enable workspace selection by numberprogandy-4/+34
2015-12-17Merge pull request #351 from mikkeloscar/swaygrab-default-fileDrew DeVault-4/+23
swaygrab: add default output filename.
2015-12-17swaygrab: add default output filename.Mikkel Oscar Lyderik-4/+23
With this it's possible to run `swaygrab` without a filename argument. With no filename supplied it will use a default name based on the current time. The default file will get the extension `png` for screenshots and `webm` for video capture.
2015-12-17Merge pull request #350 from mikkeloscar/swaygrab-auto-outputDrew DeVault-5/+9
swaygrab: update man page
2015-12-17swaygrab: update man pageMikkel Oscar Lyderik-5/+9
2015-12-17Merge pull request #349 from mikkeloscar/swaygrab-auto-outputDrew DeVault-8/+47
swaygrab: make focused output default
2015-12-17swaygrab: make focused output defaultMikkel Oscar Lyderik-8/+47
This makes swaygrab use the currently focused output as source if no other output is defined with the `-o, --output <output>` option.
2015-12-17[swaylock] Stupid implementation of password entryDrew DeVault-1/+28
2015-12-17Implement PAM password verification in swaylockDrew DeVault-0/+282
2015-12-17Fix null dereference in swaybarDrew DeVault-0/+4
2015-12-17Add PAM configuration for swaylockDrew DeVault-0/+12
2015-12-16Merge pull request #348 from mikkeloscar/bar-segvDrew DeVault-1/+3
swaybar: Check that registry is set before teardown