diff options
author | Frederic Culot <calcurse@culot.org> | 2007-02-24 17:33:42 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-02-24 17:33:42 +0000 |
commit | 929adf91545b32ee099fdacad999bcf3fb1556f5 (patch) | |
tree | 1301ed054108b9e1929300d77ed235d921b0789d | |
parent | 9f2a831dd4a3155a03d4e3b5aadaa8163ef468cd (diff) | |
download | calcurse-929adf91545b32ee099fdacad999bcf3fb1556f5.tar.gz calcurse-929adf91545b32ee099fdacad999bcf3fb1556f5.zip |
struct nbar_s updated to store notification command
-rwxr-xr-x | src/vars.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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; }; |