Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-26 | Add -DVERSION flag for release version numbers | Sebastian Noack | |
2017-03-10 | UnGNUify the codebase | Drew DeVault | |
2016-09-01 | Reorganize includes | Drew DeVault | |
2016-02-27 | Make single bar handle multiple outputs | Mikkel Oscar Lyderik | |
2016-02-26 | Correctly 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-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 | |