summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-02-24 17:33:42 +0000
committerFrederic Culot <calcurse@culot.org>2007-02-24 17:33:42 +0000
commit929adf91545b32ee099fdacad999bcf3fb1556f5 (patch)
tree1301ed054108b9e1929300d77ed235d921b0789d /src
parent9f2a831dd4a3155a03d4e3b5aadaa8163ef468cd (diff)
downloadcalcurse-929adf91545b32ee099fdacad999bcf3fb1556f5.tar.gz
calcurse-929adf91545b32ee099fdacad999bcf3fb1556f5.zip
struct nbar_s updated to store notification command
Diffstat (limited to 'src')
-rwxr-xr-xsrc/vars.h12
1 files 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;
};