removed config.h and config.def.h
The need for them is replaced by dunstrc
This commit is contained in:
parent
f188c94cd3
commit
5fa67d5f89
6
Makefile
6
Makefile
@ -18,11 +18,7 @@ options:
|
|||||||
@echo CC -c $<
|
@echo CC -c $<
|
||||||
@${CC} -c $< ${CFLAGS}
|
@${CC} -c $< ${CFLAGS}
|
||||||
|
|
||||||
${OBJ}: config.h config.mk
|
${OBJ}: config.mk
|
||||||
|
|
||||||
config.h:
|
|
||||||
@echo creating $@ from config.def.h
|
|
||||||
@cp config.def.h $@
|
|
||||||
|
|
||||||
dunst: draw.o dunst.o
|
dunst: draw.o dunst.o
|
||||||
@echo CC -o $@
|
@echo CC -o $@
|
||||||
|
40
config.def.h
40
config.def.h
@ -1,40 +0,0 @@
|
|||||||
#ifndef CONFIG_H
|
|
||||||
#define CONFIG_H
|
|
||||||
|
|
||||||
#include "dunst.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* appearance */
|
|
||||||
const char *font = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
|
|
||||||
/*
|
|
||||||
* Background and forground colors for messages with
|
|
||||||
* low normal and critical urgency.
|
|
||||||
*/
|
|
||||||
char *normbgcolor = "#1793D1";
|
|
||||||
char *normfgcolor = "#DDDDDD";
|
|
||||||
char *critbgcolor = "#ffaaaa";
|
|
||||||
char *critfgcolor = "#000000";
|
|
||||||
char *lowbgcolor = "#aaaaff";
|
|
||||||
char *lowfgcolor = "#000000";
|
|
||||||
char *format = "%s %b"; /* default format */
|
|
||||||
int timeouts[] = { 10, 10, 0 }; /* low, normal, critical */
|
|
||||||
char *geom = "0x3-30+20"; /* geometry */
|
|
||||||
int sort = True; /* sort messages by urgency */
|
|
||||||
int indicate_hidden = True; /* show count of hidden messages */
|
|
||||||
/* const char *geom = "x1"; */
|
|
||||||
|
|
||||||
|
|
||||||
char *key_string = NULL; /* set to NULL for no keybinging */
|
|
||||||
/* char *key_string = "space"; */
|
|
||||||
KeySym mask = 0;
|
|
||||||
/* KeySym mask = ControlMask; */
|
|
||||||
/* KeySym mask = ControlMask || Mod4Mask */
|
|
||||||
|
|
||||||
/* 0 -> print nothing
|
|
||||||
* 1 -> print messages to stdout
|
|
||||||
* 2 -> print everything to stdout (Useful for finding rules
|
|
||||||
* 3 -> print everything above + debug info
|
|
||||||
*/
|
|
||||||
int verbosity = 0;
|
|
||||||
|
|
||||||
#endif
|
|
18
dunst.c
18
dunst.c
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#include <iniparser.h>
|
#include <iniparser.h>
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "dunst.h"
|
#include "dunst.h"
|
||||||
#include "draw.h"
|
#include "draw.h"
|
||||||
|
|
||||||
@ -39,6 +38,23 @@ typedef struct _screen_info {
|
|||||||
|
|
||||||
|
|
||||||
/* global variables */
|
/* global variables */
|
||||||
|
char *font = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
|
||||||
|
char *normbgcolor = "#1793D1";
|
||||||
|
char *normfgcolor = "#DDDDDD";
|
||||||
|
char *critbgcolor = "#ffaaaa";
|
||||||
|
char *critfgcolor = "#000000";
|
||||||
|
char *lowbgcolor = "#aaaaff";
|
||||||
|
char *lowfgcolor = "#000000";
|
||||||
|
char *format = "%s %b"; /* default format */
|
||||||
|
int timeouts[] = { 10, 10, 0 }; /* low, normal, critical */
|
||||||
|
char *geom = "0x0"; /* geometry */
|
||||||
|
int sort = True; /* sort messages by urgency */
|
||||||
|
int indicate_hidden = True; /* show count of hidden messages */
|
||||||
|
char *key_string = NULL;
|
||||||
|
KeySym mask = 0;
|
||||||
|
|
||||||
|
int verbosity = 0;
|
||||||
|
|
||||||
|
|
||||||
rule_t *rules = NULL;
|
rule_t *rules = NULL;
|
||||||
/* index of colors fit to urgency level */
|
/* index of colors fit to urgency level */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user