aboutsummaryrefslogtreecommitdiff
path: root/swaynag
AgeCommit message (Collapse)AuthorLines
2018-09-08Align titles to baselineRyan Dwyer-5/+5
This does the following: * Adds a baseline argument to get_text_size (the baseline is the distance from the top of the texture to the baseline). * Stores the baseline in the container when calculating the title height. * Takes the baseline into account when calculating the config's max font height. * When rendering, pads the textures according to the baseline so they line up.
2018-08-20Fix bad-free in swaynagBrian Ashworth-8/+11
2018-08-10swaynag: destroy old cursor theme when updatedIan Fan-0/+3
2018-08-05Fix compiler errors.Geoff Greer-0/+1
- Some platforms don't expose kill() unless _POSIX_C_SOURCE is defined. - fork(), execl(), and setsid() need unistd.h on some platforms. Basically, this fixes some platform-specific build errors.
2018-08-03Add missing stdlib.h includes to swaynagMarien Zwart-0/+2
2018-08-01swaynag: don't drop \n for first lineBrian Ashworth-8/+4
2018-08-01swaynag: add blank lines after headings in scdocsBrian Ashworth-0/+6
2018-08-01swaynag: swaybar like default colorsBrian Ashworth-4/+9
2018-08-01swaynag: address some more of sircmpwn's commentsBrian Ashworth-25/+36
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
2018-08-01swaynag: fix hidpiBrian Ashworth-61/+88
2018-08-01swaynag: allow more config optionsBrian Ashworth-123/+362
2018-08-01swaynag: add math to meson.buildBrian Ashworth-0/+1
2018-08-01swaynag: fix output selectionBrian Ashworth-1/+2
2018-08-01swaynag: refactor {sway_,}nagbar to swaynagBrian Ashworth-363/+366
2018-08-01swaynag: split config into own file and fix optindBrian Ashworth-289/+301
2018-08-01Disable pango markup for extended messageDrew DeVault-2/+2
2018-08-01Set output to NULL if not specifiedDrew DeVault-16/+3
This opens nagbar on the active output.
2018-08-01swaynag: implement config file supportBrian Ashworth-122/+470
2018-08-01Address first round review for swaynagBrian Ashworth-0/+1038