Add configuration option to notify all appointments
If "notify-all" is enabled, all non-flagged appointments will be notified (instead of flagged ones). This is useful for users that want to be notified of everything. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
4
src/io.c
4
src/io.c
@@ -944,6 +944,10 @@ io_save_conf (struct conf *conf)
|
||||
(void)fprintf (fp, "notify-bar_command=");
|
||||
(void)fprintf (fp, "%s\n", nbar.cmd);
|
||||
|
||||
(void)fprintf (fp, "\n# Notify all appointments instead of flagged ones only\n");
|
||||
(void)fprintf (fp, "notify-all=");
|
||||
(void)fprintf (fp, "%s\n", (nbar.notify_all) ? "yes" : "no");
|
||||
|
||||
(void)fprintf (fp, "\n# Format of the date to be displayed "
|
||||
"in non-interactive mode :\n");
|
||||
(void)fprintf (fp, "output_datefmt=");
|
||||
|
||||
Reference in New Issue
Block a user