aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2015-12-21Don't skip all clients on ipc_workspace_event.Mikkel Oscar Lyderik-1/+3
Only clients not subcriped to the workspace event should be skipped.
2015-12-21Merge pull request #388 from mikkeloscar/bar-commandsDrew DeVault-26/+127
Handle bar commands outside config file
2015-12-21Handle bar commands outside config fileMikkel Oscar Lyderik-26/+127
Our initial implementation of `bar { }` assumed that the commands could only be used in the config. This is not true for two commands: * bar mode * bar hidden_state This patch makes it possible to issue these commands outside a bar block, for instance through swaymsg $ swaymsg bar mode hide bar-0 This does not implement the `barconfig_update` IPC event which should be trigged from these commands. I have added TODO's where this should be added once implemented.
2015-12-21Merge pull request #387 from mikkeloscar/handle-term-signalDrew DeVault-8/+22
swaybar: Correct handling of SIGTERM.
2015-12-21swaybar: Correct handling of SIGTERM.Mikkel Oscar Lyderik-8/+22
Swaybar did not correctly handle the SIGTERM sent from sway when exiting, ultimately leaving the child status_command behind. This should correctly handle the SIGTERM signal and terminate the status_command. Fix #386
2015-12-21Fix default swaybar fontDrew DeVault-1/+1
2015-12-20Merge pull request #381 from sce/fix_gapsDrew DeVault-3/+12
Fix gaps
2015-12-20layout: Fix `edge_gaps off` with top/left panels.S. Christoffer Eliesen-2/+2
Since x/y won't be zero when there's a top or left panel in place, we need to take those coordinates into account too.
2015-12-20container: Fix inner gaps against screen edge.S. Christoffer Eliesen-1/+10
2015-12-20Merge pull request #380 from mikkeloscar/bar-font-supportDrew DeVault-0/+13
swaybar: Add font support
2015-12-20swaybar: Add font supportMikkel Oscar Lyderik-0/+13
2015-12-20Merge pull request #373 from sce/per_panel_configDrew DeVault-15/+34
Per panel config
2015-12-20Merge pull request #378 from mikkeloscar/bar-pixel-perfectDrew DeVault-18/+21
swaybar: pixel perfect layout
2015-12-20Merge pull request #377 from progandy/optional-pixbufDrew DeVault-13/+62
make gdk-pixbuf dependency really optional
2015-12-20swaybar: pixel perfect layoutMikkel Oscar Lyderik-18/+21
This should make the bar workspace button layout identical to the layout used in i3.
2015-12-20make gdk-pixbuf dependency really optionalprogandy-13/+62
2015-12-20Update README screenshotDrew DeVault-1/+1
The new one has the top cut off, I didn't notice.
2015-12-20Merge pull request #369 from crondog/masterDrew DeVault-11/+19
swaybar: use height from config
2015-12-20Merge pull request #372 from sce/fix_swaybar_output_name_testDrew DeVault-1/+1
config: load_swaybars: Fix name comparison.
2015-12-20Merge pull request #370 from sce/fix_free_barDrew DeVault-1/+3
config: free_bar: Check if outputs is NULL.
2015-12-20Make some dependencies optionalDrew DeVault-13/+48
Closes #368
2015-12-20extensions: Track panels by wl_resource, position per panel.S. Christoffer Eliesen-9/+26
Track each panel separately via its wl_resource. `set_panel_position` might be called before `set_panel`, so reuse panel config. Place the position in panel_config so that each panel has its own position.
2015-12-20extensions: panel_config->resource => wl_surface_res.S. Christoffer Eliesen-6/+8
Change the name to something less ambigious.
2015-12-20config: load_swaybars: Fix name comparison.S. Christoffer Eliesen-1/+1
2015-12-20config: free_bar: Check if outputs is NULL.S. Christoffer Eliesen-1/+3
bar_config.outputs is NULL if no output is explicitly defined in config (ie. use for for all outputs).
2015-12-20swaybar: use height from configcrondog-11/+19
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.