aboutsummaryrefslogtreecommitdiff
path: root/swaybar/main.c
AgeCommit message (Collapse)Author
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-11-29Add text rendering support to wayland clientsDrew DeVault
2015-11-29Support desktop shell panels in compositorDrew DeVault
2015-11-29Add swaybar basicsDrew DeVault
This should make the bar open and appear as the panel, once sway supports panels. Right now it crashes sway!
2015-11-29Add swaybar subprojectDrew DeVault