aboutsummaryrefslogtreecommitdiffstats
path: root/swaynag/main.c
Commit message (Collapse)AuthorAge
* Fix incorrect format specifiersLibravatar Antonin Décimo2020-07-30
|
* swaynag: fix segfault on exit when arguments are not correctLibravatar Dominique Martinet2020-03-29
| | | | | swaynag_destroy is called on all cleanup cases and needs the lists to be valid, just init them early
* swaynag: revamp type configsLibravatar Brian Ashworth2019-04-20
| | | | | | | | | | | | | This revamps the type configs for swaynag. All sizing attributes for swaynag are now `ssize_t` instead of `uint32_t` to allow for a default value of `-1`, which allows for `0` to be a valid value. Additionally, the initialization of the type configs has been changed from a simple calloc to use a new function `swaynag_type_new`. `swaynag_type_new` calloc's the memory, checks for an allocation failure, sets the name, and all sizes to -1. The layering order has also been changed to default, general config, type config, and as highest priority command line arguments. Finally, `swaynag_type_merge` has been modified to handle the layering and sizing changes.
* Replace wlr_log with sway_logLibravatar M Stoeckl2019-01-21
| | | | | | | | | | | | | 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.
* Replace _XOPEN_SOURCE with _POSIX_C_SOURCELibravatar emersion2018-11-25
| | | | And make sure we don't define both in the same source file.
* swaynag: s/Toggle Details/Toggle details/Libravatar Drew DeVault2018-10-07
|
* Fix bad-free in swaynagLibravatar Brian Ashworth2018-08-20
|
* Add missing stdlib.h includes to swaynagLibravatar Marien Zwart2018-08-03
|
* swaynag: fix hidpiLibravatar Brian Ashworth2018-08-01
|
* swaynag: allow more config optionsLibravatar Brian Ashworth2018-08-01
|
* swaynag: refactor {sway_,}nagbar to swaynagLibravatar Brian Ashworth2018-08-01
|
* swaynag: split config into own file and fix optindLibravatar Brian Ashworth2018-08-01
|
* swaynag: implement config file supportLibravatar Brian Ashworth2018-08-01
|
* Address first round review for swaynagLibravatar Brian Ashworth2018-08-01