aboutsummaryrefslogtreecommitdiff
path: root/swaybar
AgeCommit message (Collapse)Author
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
2015-12-20swaybar: Add font supportMikkel Oscar Lyderik
2015-12-20swaybar: pixel perfect layoutMikkel Oscar Lyderik
This should make the bar workspace button layout identical to the layout used in i3.
2015-12-20swaybar: use height from configcrondog
2015-12-19swaybar: use select instead of busyloopMikkel Oscar Lyderik
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-19swaybar: use position from configcrondog
2015-12-18Just bail if ws_json is fucked upDrew DeVault
2015-12-18Wow that was stupidDrew DeVault
2015-12-18I'm still getting crashes without this lineDrew DeVault
2015-12-18swaybar: ipc_update_ws: Fix memory corruption.S. Christoffer Eliesen
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
2015-12-18swaybar: Remove stropts.h, fixes build for fedora.S. Christoffer Eliesen
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-18swaybar: terminate status_command processMikkel Oscar Lyderik
Fix #346 Send SIGTERM to the `status_command` process before swaybar exits.
2015-12-17Fix null dereference in swaybarDrew DeVault
2015-12-17swaybar: Check that registry is set before teardownMikkel Oscar Lyderik
2015-12-16Only re-render swaybar when it has changedDrew DeVault
Fixes #345
2015-12-16Make swaybar a little quieterDrew DeVault
2015-12-16Remove trailing whitespaceMikkel Oscar Lyderik
2015-12-16Correct typo seperator -> separatorMikkel Oscar Lyderik
2015-12-16Make swaybar run without status_commandKevin Hamacher
2015-12-16Make swaybar check command argumentsKevin Hamacher
2015-12-15Apply color config from swaybarDrew DeVault
2015-12-15[swaybar] Get bar config via IPCDrew DeVault
2015-12-15Parse command line in swaybarDrew DeVault
2015-12-13Fix rendering of borders on workspaces (swaybar)Drew DeVault
2015-12-13Subscribe to workspace change events and redrawDrew DeVault
2015-12-13Display workspaces on swaybarDrew DeVault
2015-12-13Free last line in swaybarDrew DeVault
2015-12-13Display output from a command on swaybarDrew DeVault
2015-12-02cmake: build common code only onceChristoph Gysin
This creates (static) libraries for protocols/, common/, and wayland/.
2015-12-01cmake: remove subprojectsChristoph Gysin
2015-12-01cmake: remove unnecessary quotesChristoph Gysin
2015-12-01cmake: use out-of-source buildChristoph Gysin
2015-12-01cmake: use tabs instead of spacesChristoph Gysin
2015-12-01cmake: style consistencyChristoph Gysin
2015-12-01cmake: convert all cmake commands to lowercaseChristoph Gysin
2015-11-29Add text rendering support to wayland clientsDrew DeVault