aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/swaynag_command.c
Commit message (Collapse)AuthorAge
* 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.
* Remove now-unused "input" argument of cmd_results_newLibravatar M Stoeckl2019-01-14
| | | | | | | | | Patch tested by compiling with `__attribute__ ((format (printf, 2, 3)))` applied to `cmd_results_new`. String usage constants have been converted from pointers to arrays when encountered. General handler format strings were sometimes modified to include the old input string, especially for unknown command errors.
* cmd_swaynag_command: fix typo in variableLibravatar Brian Ashworth2018-10-22
| | | | | The custom swaynag_command was being stored as config->swaybg_command instead of config->swaynag_command.
* Allow swaynag to be disabledLibravatar Brian Ashworth2018-10-08
|
* Write to swaynag pipe fd directly on config errorsLibravatar Brian Ashworth2018-08-03