-
Notifications
You must be signed in to change notification settings - Fork 4
/
dunstrc
138 lines (103 loc) · 4.25 KB
/
dunstrc
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# For the most part, this is just a copy of /usr/share/dunst/dunstrc. All the options are
# also explained in detail there. The [dunstrc on GitHub][1] might be more up-to-date.
#
# [1]: https://github.com/dunst-project/dunst/blob/master/dunstrc
[global]
# Two quite nice alternatives are `Source Code Pro 6` and `Source Code Pro Medium 6`.
font = Ubuntu Mono 8.2
# Allow a small subset of html markup tags message. For a complete reference see
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
markup = full
# The default.
# format = "<b>%s</b>\n%b"
# Don't sort messages by urgency.
sort = no
# Show how many messages are currently hidden.
indicate_hidden = yes
# Text alignment.
alignment = left
# Show a message's age if it's older than 60 seconds.
show_age_threshold = 60
# Split notifications into multiple lines if they don't fit.
word_wrap = yes
# The message window has a width of 600 pixels, can display a maximum of 40 messages
# (theoretically, they wouldn't fit), and is positioned 68 pixels to the left and
# bottom from the top-right screen corner.
width = 600
notification_limit = 40
offset = 68x68
# By default the scale factor is auto-detected. "Is not recommended to use a
# fractional scaling factor" (dunst(5)), but the auto-detected factor is fractional on
# my system.
scale = 1
# Don't shrink the message window.
shrink = no
# Don't remove messages if the user is idle (no mouse or keyboard input) for longer
# than 120 seconds.
idle_threshold = 120
# Display notifications on monitor 0.
monitor = 0
# Always display notification on monitor 0. Don't react to what monitor has mouse or
# keyboard focus.
follow = none
# Don't merge multiple notifications with the same content.
stack_duplicates = false
# Notifications popped up from history should be sticky and not timeout as they
# normally do.
sticky_history = yes
# Maximum amount of notifications kept in history.
history_length = 40
# Don't display the "(U)" prefix before messages with URLs.
show_indicators = no
# Draw a line of 4 pixels height between two notifications.
separator_height = 4
# Vertical padding between text and separator.
padding = 16
# Horizontal padding.
horizontal_padding = 16
# For notifications specifying an icon name or path, show the icon at the left of the
# notification window. By default, icons are disabled.
icon_position = left
# Scale icons down so the larger axis has 64 pixels. Scaling is disabled by default.
max_icon_size = 64
# Use the same color for the separator as for the frame.
separator_color = frame
# Command for executing (a variant of) dmenu.
dmenu = dunst-dmenu
# Browser for opening URLs in context menu.
browser = firefox-esr --new-tab
frame_width = 4
# Background color from jellybeans.vim: color 233 in terminals, #151515 in gVim; see
# :hi Normal.
# color = "#121212"
frame_color = "#000000"
[urgency_low]
# Blue from jellybeans.vim: color 103 in terminals, #8197bf in gVim; see
# :hi Statement.
background = "#8787af"
foreground = "#ffffff"
timeout = 20
[urgency_normal]
# Green from jellybeans.vim: color 107 in terminals, #99ad6a in gVim; see :hi String.
background = "#87af5f"
foreground = "#ffffff"
timeout = 20
[urgency_critical]
# Red from jellybeans.vim: color 167 in terminals, #cf6a4c in gVim; see :hi Constant.
# background = "#902020"
background = "#d75f5f"
foreground = "#ffffff"
timeout = 0
# The following sections' names aren't used by Dunst internally (arbitrary names can be
# used). Dunst treats such sections as *rules*. Rules can be used to filter
# notifications, override attributes, or run scripts.
[no_summary]
summary = "-"
format = "%b"
# Don't keep certain notifications in the history. For example, those from my Super+B
# keybinding would just be noise when recalling notifications. We set the application
# name to hzVgHJS3 when sending notifications that should be filtered here.
[hzVgHJS3]
appname = hzVgHJS3
history_ignore = yes
# vim: tw=90 sts=-1 sw=4 et ft=cfg cms=#%s