Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-24 | swaybar: move headers to include/bar | Mikkel Oscar Lyderik | |
2016-01-24 | swaybar: rename state to bar | Mikkel Oscar Lyderik | |
2016-01-24 | swaybar: move core functionality to state.c | Mikkel Oscar Lyderik | |
2016-01-24 | swaybar: Move swaybar_teardown to free_state | Mikkel Oscar Lyderik | |
2016-01-24 | swaybar: move ipc stuff to ipc.{h,c} | Mikkel Oscar Lyderik | |
2016-01-24 | swaybar: feactor render, statusline | Mikkel Oscar Lyderik | |
2016-01-24 | swaybar: Separate config | Mikkel Oscar Lyderik | |
2016-01-23 | swaybar: add --help option | Christoph Gysin | |
2016-01-23 | swaybar: debug option takes no argument | Christoph Gysin | |
2016-01-05 | Fix whitespace issues. | Mikkel Oscar Lyderik | |
2016-01-04 | swaybar: fix logging | crondog | |
Optionally turn on debugging in swaybar. I acidentally introduced persistent logging in a previous commit | |||
2016-01-03 | swaybar: Implement workspace_buttons yes|no | Mikkel Oscar Lyderik | |
2016-01-03 | swaybar: Implement binding_mode_indicator | Mikkel Oscar Lyderik | |
2016-01-03 | Merge pull request #427 from mikkeloscar/ipc-update | Drew DeVault | |
Refactor IPC server/client | |||
2016-01-03 | Add 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-03 | swaybar: rename ipc_listen_sock.. to ipc_event_sock.. | Mikkel Oscar Lyderik | |
2016-01-03 | Only strip when starting with a num | Mikkel Oscar Lyderik | |
This makes sure the `:` isn't striped if you have a workspace named: `:something`. | |||
2016-01-03 | swaybar: Implement strip_workspace_numbers | Mikkel Oscar Lyderik | |
2015-12-29 | saybar: remove stray logline | Mikkel Oscar Lyderik | |
2015-12-28 | swaybar: Add support for custom separator symbol | Mikkel Oscar Lyderik | |
2015-12-27 | Merge pull request #409 from mikkeloscar/bar-airblade-features | Drew DeVault | |
swaybar: Add support for Airblade i3bar extensions | |||
2015-12-27 | swaybar: Free unused IPC response | Mikkel Oscar Lyderik | |
2015-12-27 | swaybar: if-else style fixes | Mikkel Oscar Lyderik | |
2015-12-27 | swaybar: Add support for Airblade i3bar extensions | Mikkel 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-25 | swaybar: remove random whitespaces | Mikkel Oscar Lyderik | |
2015-12-25 | swaybar: 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-25 | Merge branch 'master' of https://github.com/SirCmpwn/sway | crondog | |
2015-12-24 | swaybar: Replace fgets with read and own buffer | progandy | |
2015-12-24 | swaybar: min_width and align | crondog | |
2015-12-24 | swaybar: fix array indices in i3json_handle | progandy | |
2015-12-23 | Stop swaybar from not rendering after the first go around | crondog | |
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-22 | swaybar: fix memory leaks | progandy | |
2015-12-22 | swaybar: add a visible separator between elements | progandy | |
2015-12-22 | swaybar: Improve i3bar proto implementation | progandy | |
Also reintroduce plaintext fallback for simple status lines. | |||
2015-12-22 | swaybar: fix whitespace | progandy | |
2015-12-22 | Clean up a bit | crondog | |
2015-12-22 | Make start on i3bar json parsing | crondog | |
2015-12-21 | swaybar: 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-20 | swaybar: Add font support | Mikkel Oscar Lyderik | |
2015-12-20 | swaybar: pixel perfect layout | Mikkel Oscar Lyderik | |
This should make the bar workspace button layout identical to the layout used in i3. | |||
2015-12-20 | swaybar: use height from config | crondog | |
2015-12-19 | swaybar: use select instead of busyloop | Mikkel 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-19 | swaybar: use position from config | crondog | |
2015-12-18 | Just bail if ws_json is fucked up | Drew DeVault | |
2015-12-18 | Wow that was stupid | Drew DeVault | |
2015-12-18 | I'm still getting crashes without this line | Drew DeVault | |
2015-12-18 | swaybar: 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-18 | Fix possible segfault in swaybar | Drew DeVault | |
2015-12-18 | swaybar: 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-18 | swaybar: terminate status_command process | Mikkel Oscar Lyderik | |
Fix #346 Send SIGTERM to the `status_command` process before swaybar exits. |