aboutsummaryrefslogtreecommitdiffstats
path: root/swaynag/types.c
Commit message (Collapse)AuthorAge
* Define _POSIX_C_SOURCE globallyLibravatar Simon Ser2024-02-23
| | | | See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
* swaynag: drop swaynag_type.fontLibravatar Simon Ser2022-12-22
| | | | It's too easy to have this go out of sync with font_description.
* swaynag: fix NULL font descriptionLibravatar Simon Ser2022-12-22
| | | | | | | The font description was only set if provided on the CLI. It was left NULL for the defaults and when reading from the config file. Closes: https://github.com/swaywm/sway/issues/7186
* swaynag: adds option to set wayland shell layerLibravatar James Edwards-Jones2021-06-17
| | | | Uses --layer/-y set to overlay|top|bottom|background
* swaynag: add details background optionLibravatar Mustafa Abdul-Kader2020-09-14
| | | | | | Adds a new config option for details background for swaynag issue/#5673
* swaynag: adds option to separately specify the text color for buttonsLibravatar oliver-giersch2020-09-04
|
* 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.
* Cleanup list codeLibravatar Ian Fan2018-12-09
|
* Replace _XOPEN_SOURCE with _POSIX_C_SOURCELibravatar emersion2018-11-25
| | | | And make sure we don't define both in the same source file.
* swaynag: swaybar like default colorsLibravatar Brian Ashworth2018-08-01
|
* swaynag: address some more of sircmpwn's commentsLibravatar Brian Ashworth2018-08-01
| | | | | | | | | | Fixes segfauls for any case where swaynag->outputs was not inititalized including -h/--help, -v/--version, and invalid arguments. Sets sane defaults for colors not given. Any color not given will fallback to the default color values for type error. Adds support for a hidpi cursor
* 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