aboutsummaryrefslogtreecommitdiff
path: root/swaybar
AgeCommit message (Collapse)Author
2016-04-17Flesh out pango markup implementationDrew DeVault
2016-03-31Stop swaybar crashing without argscrondog
2016-03-30Handle swaybar using sway fontMikkel Oscar Lyderik
2016-03-30Make client/pango.h not depend on client/window.hMikkel Oscar Lyderik
2016-02-27Poll before wl_display_dispatchMikkel Oscar Lyderik
2016-02-27Differentiate between all or no outputsMikkel Oscar Lyderik
2016-02-27Make single bar handle multiple outputsMikkel Oscar Lyderik
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik
Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
2016-01-25extract cairo_set_source_u32()Christoph Gysin
2016-01-25swaybar: Fix plaintext handling.Mikkel Oscar Lyderik
Fix #473
2016-01-25Fix colors off by oneMikkel Oscar Lyderik
2016-01-24swaybar: move headers to include/barMikkel Oscar Lyderik
2016-01-24swaybar: cleanup CmakeLists.txtMikkel Oscar Lyderik
2016-01-24swaybar: rename state to barMikkel Oscar Lyderik
2016-01-24swaybar: move core functionality to state.cMikkel Oscar Lyderik
2016-01-24swaybar: Move swaybar_teardown to free_stateMikkel Oscar Lyderik
2016-01-24swaybar: move ipc stuff to ipc.{h,c}Mikkel Oscar Lyderik
2016-01-24swaybar: feactor render, statuslineMikkel Oscar Lyderik
2016-01-24swaybar: Separate configMikkel Oscar Lyderik
2016-01-23swaybar: add --help optionChristoph Gysin
2016-01-23swaybar: debug option takes no argumentChristoph Gysin
2016-01-05Fix whitespace issues.Mikkel Oscar Lyderik
2016-01-04swaybar: fix loggingcrondog
Optionally turn on debugging in swaybar. I acidentally introduced persistent logging in a previous commit
2016-01-03swaybar: Implement workspace_buttons yes|noMikkel Oscar Lyderik
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-03swaybar: rename ipc_listen_sock.. to ipc_event_sock..Mikkel Oscar Lyderik
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-03swaybar: Implement strip_workspace_numbersMikkel Oscar Lyderik
2015-12-29saybar: remove stray loglineMikkel Oscar Lyderik
2015-12-28swaybar: Add support for custom separator symbolMikkel Oscar Lyderik
2015-12-27Merge pull request #409 from mikkeloscar/bar-airblade-featuresDrew DeVault
swaybar: Add support for Airblade i3bar extensions
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-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-25Merge branch 'master' of https://github.com/SirCmpwn/swaycrondog
2015-12-24swaybar: Replace fgets with read and own bufferprogandy
2015-12-24swaybar: min_width and aligncrondog
2015-12-24swaybar: fix array indices in i3json_handleprogandy
2015-12-23Stop swaybar from not rendering after the first go aroundcrondog
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-22swaybar: fix memory leaksprogandy
2015-12-22swaybar: add a visible separator between elementsprogandy
2015-12-22swaybar: Improve i3bar proto implementationprogandy
Also reintroduce plaintext fallback for simple status lines.
2015-12-22swaybar: fix whitespaceprogandy
2015-12-22Clean up a bitcrondog
2015-12-22Make start on i3bar json parsingcrondog
2015-12-21swaybar: Correct handling of SIGTERM.Mikkel Oscar Lyderik
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