summaryrefslogtreecommitdiffstats
path: root/swaybar
Commit message (Collapse)AuthorAge
* swaybar: if-else style fixesLibravatar Mikkel Oscar Lyderik2015-12-27
|
* swaybar: Add support for Airblade i3bar extensionsLibravatar Mikkel Oscar Lyderik2015-12-27
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* swaybar: remove random whitespacesLibravatar Mikkel Oscar Lyderik2015-12-25
|
* swaybar: Fix json related crash.Libravatar Mikkel Oscar Lyderik2015-12-25
| | | | | | | | | | | 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.
* Merge branch 'master' of https://github.com/SirCmpwn/swayLibravatar crondog2015-12-25
|\
| * swaybar: Replace fgets with read and own bufferLibravatar progandy2015-12-24
| |
| * swaybar: fix array indices in i3json_handleLibravatar progandy2015-12-24
| |
* | swaybar: min_width and alignLibravatar crondog2015-12-24
|/
* Stop swaybar from not rendering after the first go aroundLibravatar crondog2015-12-23
| | | | | | 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.
* swaybar: fix memory leaksLibravatar progandy2015-12-22
|
* swaybar: add a visible separator between elementsLibravatar progandy2015-12-22
|
* swaybar: Improve i3bar proto implementationLibravatar progandy2015-12-22
| | | | Also reintroduce plaintext fallback for simple status lines.
* swaybar: fix whitespaceLibravatar progandy2015-12-22
|
* Clean up a bitLibravatar crondog2015-12-22
|
* Make start on i3bar json parsingLibravatar crondog2015-12-22
|
* swaybar: Correct handling of SIGTERM.Libravatar Mikkel Oscar Lyderik2015-12-21
| | | | | | | | | 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
* swaybar: Add font supportLibravatar Mikkel Oscar Lyderik2015-12-20
|
* swaybar: pixel perfect layoutLibravatar Mikkel Oscar Lyderik2015-12-20
| | | | | This should make the bar workspace button layout identical to the layout used in i3.
* swaybar: use height from configLibravatar crondog2015-12-20
|
* swaybar: use select instead of busyloopLibravatar Mikkel Oscar Lyderik2015-12-19
| | | | | | | | | 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
* swaybar: use position from configLibravatar crondog2015-12-19
|
* Just bail if ws_json is fucked upLibravatar Drew DeVault2015-12-18
|
* Wow that was stupidLibravatar Drew DeVault2015-12-18
|
* I'm still getting crashes without this lineLibravatar Drew DeVault2015-12-18
|
* swaybar: ipc_update_ws: Fix memory corruption.Libravatar S. Christoffer Eliesen2015-12-18
| | | | | json_object_object_get_ex does not require json_object_put according to docs, this should fix the random crashes.
* Fix possible segfault in swaybarLibravatar Drew DeVault2015-12-18
|
* swaybar: Remove stropts.h, fixes build for fedora.Libravatar S. Christoffer Eliesen2015-12-18
| | | | | | | 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
* swaybar: terminate status_command processLibravatar Mikkel Oscar Lyderik2015-12-18
| | | | | | Fix #346 Send SIGTERM to the `status_command` process before swaybar exits.
* Fix null dereference in swaybarLibravatar Drew DeVault2015-12-17
|
* swaybar: Check that registry is set before teardownLibravatar Mikkel Oscar Lyderik2015-12-17
|
* Only re-render swaybar when it has changedLibravatar Drew DeVault2015-12-16
| | | | Fixes #345
* Make swaybar a little quieterLibravatar Drew DeVault2015-12-16
|
* Remove trailing whitespaceLibravatar Mikkel Oscar Lyderik2015-12-16
|
* Correct typo seperator -> separatorLibravatar Mikkel Oscar Lyderik2015-12-16
|
* Make swaybar run without status_commandLibravatar Kevin Hamacher2015-12-16
|
* Make swaybar check command argumentsLibravatar Kevin Hamacher2015-12-16
|
* Apply color config from swaybarLibravatar Drew DeVault2015-12-15
|
* [swaybar] Get bar config via IPCLibravatar Drew DeVault2015-12-15
|
* Parse command line in swaybarLibravatar Drew DeVault2015-12-15
|
* Fix rendering of borders on workspaces (swaybar)Libravatar Drew DeVault2015-12-13
|
* Subscribe to workspace change events and redrawLibravatar Drew DeVault2015-12-13
|
* Display workspaces on swaybarLibravatar Drew DeVault2015-12-13
|
* Free last line in swaybarLibravatar Drew DeVault2015-12-13
|
* Display output from a command on swaybarLibravatar Drew DeVault2015-12-13
|
* cmake: build common code only onceLibravatar Christoph Gysin2015-12-02
| | | | This creates (static) libraries for protocols/, common/, and wayland/.
* cmake: remove subprojectsLibravatar Christoph Gysin2015-12-01
|
* cmake: remove unnecessary quotesLibravatar Christoph Gysin2015-12-01
|
* cmake: use out-of-source buildLibravatar Christoph Gysin2015-12-01
|
* cmake: use tabs instead of spacesLibravatar Christoph Gysin2015-12-01
|
* cmake: style consistencyLibravatar Christoph Gysin2015-12-01
|