-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.def.h
62 lines (50 loc) · 2.1 KB
/
config.def.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Orientation of the pop-up window on the screen.
// Use a mask of TOP, BOTTOM, LEFT, RIGHT.
// Default value (if not defined): BOTTOM-RIGHT.
#define POSITION ( BOTTOM | RIGHT )
// RGB colors for background and foreground (text)
#define BCOLOR "#fafafa" // white
#define FCOLOR "#606060" // grey-black
// XFT fonts for the text displayed, for the XFT naming convention, see:
// https://keithp.com/~keithp/talks/xtc2001/paper/xft.html#sec-xft-name
// To check available fonts on your system: run `fc-list` (fontconfig).
// Note that if font is not available or has invalid syntax, XFT will
// load some other font, that you wont like (e.g. ASCII only).
#define FONT_FAMILY "DejaVu Sans Mono"
#define FONT_BODY FONT_FAMILY ":pixelsize=14:antialias=true:autohint=true"
#define FONT_SUBJ FONT_FAMILY ":style=bold:pixelsize=14:antialias=true:autohint=true"
// Maximum number of notifications that may appear on the screen
// simultaneously (if there is enough space).
#define XNOTIFY_MAX 5
// Duration of the notification in seconds. Note that hovering over
// the pop-up window, makes it last longer. Conversely, click-release
// makes it disappear sooner.
#define TIMEOUT 5
// Uncomment if you want each notification message to be logged to a file.
// The file will be created in current directory (can be changed in Makefile).
// #define LOGFN "msg.log"
// Logfile is rotated if exeeds MOGMAXS bytes
// #define LOGMAXS 10000000
// Geometry of the pop-up window.
// Window height and width, border width.
#define WINDOW_W 300
#define WINDOW_H 70
#define WINDOW_B 0
// Horizontal and vertical space between window and screen edge.
#define MARGIN_X 60
#define MARGIN_Y 40
// Space between pop-up windows (in case of multiple notifications).
#define MARGIN_Z 30
// Horizontal and vertical space between text and window edge.
#define PAD_X 20
#define PAD_Y 30
// Space between text lines.
#define PAD_Z 10
// Fade-in and fade-out properties.
#define OPACITY_MIN 0x10000000
#define OPACITY_AVG 0x80000000
#define OPACITY_MAX 0xd0000000
#define FADEIN_NSECS 500
#define FADEOUT_NSECS 500
#define FADEIN_DELTA 0x300000
#define FADEOUT_DELTA 0x300000