From 929adf91545b32ee099fdacad999bcf3fb1556f5 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 24 Feb 2007 17:33:42 +0000 Subject: struct nbar_s updated to store notification command --- src/vars.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/vars.h b/src/vars.h index 92cee1a..3c91d61 100755 --- a/src/vars.h +++ b/src/vars.h @@ -1,4 +1,4 @@ -/* $calcurse: vars.h,v 1.4 2006/09/15 15:37:45 culot Exp $ */ +/* $calcurse: vars.h,v 1.5 2007/02/24 17:33:42 culot Exp $ */ /* * Calcurse - text-based organizer @@ -59,10 +59,12 @@ struct pad_s { }; struct nbar_s { - int show; /* display or hide the notify-bar */ - int cntdwn; /* warn when time left before next app < cntdwn */ - char *datefmt; /* format for displaying date */ - char *timefmt; /* format for displaying time */ + int show; /* display or hide the notify-bar */ + int cntdwn; /* warn when time left before next app + * becomes lesser than cntdwn */ + char datefmt[MAX_LENGTH]; /* format for displaying date */ + char timefmt[MAX_LENGTH]; /* format for displaying time */ + char cmd[MAX_LENGTH]; /* notification command */ pthread_mutex_t mutex; }; -- cgit v1.2.3-70-g09d2