| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-04-27 | Replace signal() with sigaction() | Simon Ser | -2/+3 | |
| The man page for signal(3) reads: > new applications should use sigaction() rather than signal() | ||||
| 2024-02-23 | Define _POSIX_C_SOURCE globally | Simon Ser | -1/+0 | |
| See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555 | ||||
| 2021-02-04 | Make command line option lists const | Manuel Stoeckl | -1/+1 | |
| 2021-01-16 | Changed fprintf(stdout,...) to printf(...) for more readable code | SpizzyCoder | -1/+1 | |
| 2019-02-15 | swaybar: prevent signal handler from firing during termination | Ian Fan | -9/+5 | |
| This prevents a heap-use-after-free crash when sway terminates. | ||||
| 2019-01-21 | Replace wlr_log with sway_log | M Stoeckl | -5/+5 | |
| This commit mostly duplicates the wlr_log functions, although with a sway_* prefix. (This is very similar to PR #2009.) However, the logging function no longer needs to be replaceable, so sway_log_init's second argument is used to set the exit callback for sway_abort. wlr_log_init is still invoked in sway/main.c This commit makes it easier to remove the wlroots dependency for the helper programs swaymsg, swaybg, swaybar, and swaynag. | ||||
| 2019-01-08 | swaybar: improve tray logging | Ian Fan | -1/+1 | |
| 2018-11-25 | Replace _XOPEN_SOURCE with _POSIX_C_SOURCE | emersion | -1/+1 | |
| And make sure we don't define both in the same source file. | ||||
| 2018-10-14 | swaybar: save id upon startup | Ian Fan | -5/+3 | |
| This adds an id property to the bar, which will be used to filter barconfig_update events | ||||
| 2018-10-10 | Fix program name in version strings | Ryan Dwyer | -1/+1 | |
| When running swaymsg -v, the version returned is actually the version of swaymsg itself, yet the message displayed was "sway version <version>". This can create confusion if users update sway and swaymsg but don't restart sway, then use swaymsg to check the version. This patch changes the wording to be "swaymsg version <version>" instead, and likewise for swaybar. To get the version of a running sway instance, users should run swaymsg -t get_version. | ||||
| 2018-09-28 | swaybar: fail if bar id is invalid | Ian Fan | -1/+4 | |
| 2018-07-09 | Update for swaywm/wlroots#1126 | emersion | -4/+4 | |
| 2018-03-29 | Start port of swaybar to layer shell | Drew DeVault | -17/+16 | |
| This starts up the event loop and wayland display and shims out the basic top level rendering concepts. Also includes some changes to incorporate pango into the 1.x codebase properly. | ||||
| 2017-04-26 | Add -DVERSION flag for release version numbers | Sebastian Noack | -5/+1 | |
| 2017-03-10 | UnGNUify the codebase | Drew DeVault | -0/+1 | |
| 2016-09-01 | Reorganize includes | Drew DeVault | -1/+1 | |
| 2016-02-27 | Make single bar handle multiple outputs | Mikkel Oscar Lyderik | -8/+2 | |
| 2016-02-26 | Correctly exit sway on errors. | Mikkel Oscar Lyderik | -2/+2 | |
| 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 | -1/+1 | |
| 2016-01-24 | swaybar: rename state to bar | Mikkel Oscar Lyderik | -7/+8 | |
| 2016-01-24 | swaybar: move core functionality to state.c | Mikkel Oscar Lyderik | -109/+9 | |
| 2016-01-24 | swaybar: Move swaybar_teardown to free_state | Mikkel Oscar Lyderik | -37/+3 | |
| 2016-01-24 | swaybar: move ipc stuff to ipc.{h,c} | Mikkel Oscar Lyderik | -245/+10 | |
| 2016-01-24 | swaybar: feactor render, statusline | Mikkel Oscar Lyderik | -840/+90 | |
| 2016-01-24 | swaybar: Separate config | Mikkel Oscar Lyderik | -171/+87 | |
| 2016-01-23 | swaybar: add --help option | Christoph Gysin | -1/+16 | |
| 2016-01-23 | swaybar: debug option takes no argument | Christoph Gysin | -1/+1 | |
| 2016-01-05 | Fix whitespace issues. | Mikkel Oscar Lyderik | -1/+1 | |
| 2016-01-04 | swaybar: fix logging | crondog | -3/+13 | |
| 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 | -6/+14 | |
| 2016-01-03 | swaybar: Implement binding_mode_indicator | Mikkel Oscar Lyderik | -7/+76 | |
| 2016-01-03 | Merge pull request #427 from mikkeloscar/ipc-update | Drew DeVault | -11/+10 | |
| Refactor IPC server/client | ||||
| 2016-01-03 | Add type to returned response. | Mikkel Oscar Lyderik | -3/+2 | |
| 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 | -9/+9 | |
| 2016-01-03 | Only strip when starting with a num | Mikkel Oscar Lyderik | -1/+1 | |
| 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 | -4/+38 | |
| 2015-12-29 | saybar: remove stray logline | Mikkel Oscar Lyderik | -2/+0 | |
| 2015-12-28 | swaybar: Add support for custom separator symbol | Mikkel Oscar Lyderik | -7/+29 | |
| 2015-12-27 | Merge pull request #409 from mikkeloscar/bar-airblade-features | Drew DeVault | -76/+240 | |
| swaybar: Add support for Airblade i3bar extensions | ||||
| 2015-12-27 | swaybar: Free unused IPC response | Mikkel Oscar Lyderik | -0/+1 | |
| 2015-12-27 | swaybar: if-else style fixes | Mikkel Oscar Lyderik | -10/+5 | |
| 2015-12-27 | swaybar: Add support for Airblade i3bar extensions | Mikkel Oscar Lyderik | -66/+235 | |
| 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 | -4/+4 | |
| 2015-12-25 | swaybar: Fix json related crash. | Mikkel Oscar Lyderik | -15/+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. | ||||
| 2015-12-25 | Merge branch 'master' of https://github.com/SirCmpwn/sway | crondog | -60/+173 | |
| 2015-12-24 | swaybar: Replace fgets with read and own buffer | progandy | -54/+167 | |
| 2015-12-24 | swaybar: min_width and align | crondog | -20/+32 | |
| 2015-12-24 | swaybar: fix array indices in i3json_handle | progandy | -6/+6 | |
| 2015-12-23 | Stop swaybar from not rendering after the first go around | crondog | -4/+3 | |
| 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 | -2/+38 | |
