Skip to content

Commit

Permalink
add xnotify.h
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbush committed Dec 1, 2020
1 parent 8c6a6f2 commit 0fb1337
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xnotify.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
enum ItemOption {IMG, BG, FG, BRD, TAG, CMD, UNKNOWN};
enum ItemOption {IMG, BG, FG, BRD, TAG, CMD, SEC, UNKNOWN};
enum {DownWards, UpWards};
enum {LeftAlignment, CenterAlignment, RightAlignment};
enum {
Expand Down Expand Up @@ -69,6 +69,7 @@ struct Itemspec {
char *border;
char *tag;
char *cmd;
int sec;
};

/* notification item structure */
Expand All @@ -81,6 +82,7 @@ struct Item {
char *cmd;

time_t time;
int sec;

int w, h;
int imgw, imgh;
Expand Down

0 comments on commit 0fb1337

Please sign in to comment.