aboutsummaryrefslogtreecommitdiff
path: root/swaynag
AgeCommit message (Collapse)Author
2018-09-30Add support for installing binaries with DT_RPATHArkadiusz Hiler
It's better to use DT_RPATH dynamic section of the elf binary to store the paths of libraries to load instead of overwriting LD_LIBRARY_PATH for the whole environment, causing surprises. This solution is much more transparent and perfectly suitable for running contained installations of wayland/wlroots/sway. The code unsetting the LD_LIBRARY_PATH/LD_PRELOAD was also deleted as it's a placebo security at best - we should trust the execution path that leads us to running sway, and it's way too late to care about those variables since we already started executing our compositor, thus we would be compromised anyway.
2018-09-30Turn funcs() into funcs(void)Arkadiusz Hiler
If they really do not take undefined number of arguments.
2018-09-08Align titles to baselineRyan Dwyer
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
2018-08-10swaynag: destroy old cursor theme when updatedIan Fan
2018-08-05Fix compiler errors.Geoff Greer
- 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
2018-08-01swaynag: don't drop \n for first lineBrian Ashworth
2018-08-01swaynag: add blank lines after headings in scdocsBrian Ashworth
2018-08-01swaynag: swaybar like default colorsBrian Ashworth
2018-08-01swaynag: address some more of sircmpwn's commentsBrian Ashworth
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
2018-08-01swaynag: allow more config optionsBrian Ashworth
2018-08-01swaynag: add math to meson.buildBrian Ashworth
2018-08-01swaynag: fix output selectionBrian Ashworth
2018-08-01swaynag: refactor {sway_,}nagbar to swaynagBrian Ashworth
2018-08-01swaynag: split config into own file and fix optindBrian Ashworth
2018-08-01Disable pango markup for extended messageDrew DeVault
2018-08-01Set output to NULL if not specifiedDrew DeVault
This opens nagbar on the active output.
2018-08-01swaynag: implement config file supportBrian Ashworth
2018-08-01Address first round review for swaynagBrian Ashworth