-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig
executable file
·114 lines (85 loc) · 3.22 KB
/
config
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// Configuration file for yarn -- the notification daemon.
// The maximum number of notifications to be shown at any one time.
// When the maximum number is reached, old notifications will be pushed out to make way for new ones.
max_notifications = 4;
// Gap between multiple notifications;
gap = 7;
// Notification settings and positioning.
notification:
{
// Dimensions in the format of wxh+x+y:
geometry = "300x23+1447+770";
// Shadow offsets. (use negative values if you want)
shadow = 1;
shadow_xoffset = 5;
shadow_yoffset = 5;
// Max summary length (in pixels). Summary will be elipsed if it is longer than this.
// -1 for no limit, and no elipses -- recommended when using the "bounce" option.
summary_width = 70;
body_width = 230;
// The area that the body text occupies.
// Colors in #AARRGGBB format;
summary_color = "#FFebdbb2";
body_color = "#FFebdbb2";
shadow_color = "#4C000000";
bgcolor = "#FF282828";
bdcolor = "#FFebdbb2";
// Font.
font = "Operator Mono Book 10";
//font_body = "Operator Mono Book 10";
// Markup for the summary.
// See https://developer.gnome.org/pango/stable/PangoMarkupFormat.html for possible tags.
summary_markup = "<span background='blue'>%s</span>"
// Markup for the body.
body_markup = "%s"
// Interval between refreshes (in ms). Lower values mean smoother animation but more work.
// 16.5 = 60fps
// 33 = 30fps
interval = 33.0;
// Default time for notifications to be shown for:
timeout = 15.0;
// Rounding around the edges of a notification. (higehr number means more rounding).
rounding = 3.0;
// Speed at which text scrolls across the screen. This is the amount that the text moves each tick (each tick is one interval).
scroll_speed = 1;
// Enable bounce (notification scrolls to the end and then comes back so the whole message can be read).
bounce = 1;
// The amount of extra space that the notification will scroll in before bouncing back.
bounce_margin = 15;
// Left Margin (summary distance from left side of border)
lmargin = 2;
// Mid Margin (body distance from the summary, or where the body will stop at)
mmargin = 6;
// Right margin (how far the text is cut from the right side of the border)
rmargin = 4;
// Upper margin.
overline = 0;
// Border thickness.
bw = 3;
}
// Hotkeys -- do stuff.
// Utility windows do not get keyboard input by default (as they are not focused)...
// so you're pretty restricted to mouse events here.
// left click: -1
// middle click: -2
// right click: -3
// mwheelup: -4
// mwheeldown: -5
// mouse5: -8
// mouse4: -9
shortcuts:
{
// Close a notification:
notification_close = -1;
// Close all notifications:
notification_closeall = -5;
// Pause a notification, resume it with the same button:
notification_pause = -2;
// Try to find a url in the notification and open it in the default browser:
notification_url = -3;
}
// For compton:
//shadow-exclude = ["n:e:yarn" ];
//shadow-exclude = ["i:a:<other thing>", "n:e:yarn" ];
//https://developer.gnome.org/pango/stable/PangoMarkupFormat.html ---- markup.
// vim: syn=cfg