summaryrefslogtreecommitdiff
path: root/dotfiles/system/.config/dunst/dunstrc
blob: 5118051f9a5feabc1f5bcdcbde1fa4aee2e03bff (plain)
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
[global]
   
    ### Display ###

    # Display notifications on monitor with mouse focus
    follow = mouse
    # Set {width}x{height} and {x_pos}+{y_pos}
    geometry = "300x30-5+60"
    # Show number of hidden notifications
    indicate_hidden = yes
    # Shrink window if smaller than width
    shrink = no
    # Set transparency of notifications
    transparency = 0
    # Height of whole notification    
    notification_height = 0
    # Height of seperators
    separator_height = 2
    # Text and seperator padding
    padding = 8
    # Horizontal padding
    horizontal_padding = 8
    # Width of frame around window
    frame_width = 1
    # Color of frame around window
    frame_color = "#4287f5"
    # Sort messages by urgency
    sort = yes
    # Idle seconds
    idle_threshold = 0

    ### Text ###
    
    # Set font of notifications
    font = FiraCode Nerd Font Mono, 10
    # Spacing between lines 
    line-height = 0
    # Markup parsing
    markup = full
    # Message format:
    # %a - appname
    # %s - summary
    # %b - body
    # %i - iconname (with path)
    # %I - iconname (without path)
    # %p - progress value (if set)
    # %n - progress value no extra characters
    # %% - literal %
    format = "<b>%a</b>\n<i>%s</i>\n%b"
    # Align message text horizontally
    alignment = center
    # Align message text vertically
    vertical_alignment = center
    # Show age of message if message is older than x seconds
    show_age_threshold = -1
    # Split notifications into multiple lines
    word_wrap = no
    # If message too long, add ellipsize to...
    ellipsize = middle
    # Ignore newlines in notifications
    ignore_newline = no
    # Stack duplicate notifications
    stack_duplicates = true
    # Hide number of duplicate notifications
    hide_duplicate_count = true
    # Show indicatiors  for urls and actions
    show_indicators = no
   
    ### Icons ###
    
    # Disable icons
    # icon_position = off

    ### History ###
    
    # Length of history
    history_length = 20
    
    ### Misc ###
    
    # Dmenu path
    dmenu = /usr/bin/dmenu -p dunst:
    # Browser
    browser = /usr/bin/firefox -new-tab
    # Always run scripts
    always_run_script = true
    # Title of notification
    title = Dunst
    # Notification class
    class = Dunst
    # Print notification on startup
    startup_notification = false
    # Dunst verbosity
    verbosity = mesg
    # Corner radius of dunst
    corner_radius = 15
    # Ignore dbus closeNotification message
    ignore_dbusclose = false

    ### Mouse ###

    # Left click
    mouse_left_click = close_current
    # Middle click
    mouse_middle_click = do_action
    # Right click
    mouse_right_click = do_action

[shortcuts]

    # Close one notification
    close = ctrl+space
    # Close all notifications
    close_all = ctrl+shift+space

[urgency_normal]

    # Normal urgency notifications
    background = "#202632"
    foreground = "#ffffff"
    timeout = 5

[urgency_critical]

    # High urgency notifications
    background = "#ffffff"
    foreground = "#db0101"
    timeout = 0
# For defaults and description of each option, see the link bellow
# https://github.com/dunst-project/dunst/blob/master/dunstrc

[global]
# Display
follow = mouse
width = 350
height = (0, 300)
origin = top-right
offset = (35, 35)
indicate_hidden = yes
notification_limit = 5
gap_size = 12
padding = 12
horizontal_padding = 20
frame_width = 1
sort = no

# Progress bar
progress_bar_frame_width = 0
progress_bar_corner_radius = 3

# Colors
foreground = "#cdd1dc"
frame_color = "#2d303c"
highlight = "#2274d5, #82aad9"

# Text
font = FiraCode Nerd Font Mono, 10
markup = full
format = "<small>%a</small>\n<b>%s</b>\n%b"
alignment = left
vertical_alignment = center
show_age_threshold = -1
hide_duplicate_count = false

# Icon
icon_position = left
min_icon_size = 54
max_icon_size = 80
icon_path = /usr/share/icons/Arc/status/96:/usr/share/icons/Arc/status/symbolic
icon_corner_radius = 4

# Misc/Advanced
dmenu = wofi --show drun --prompt 'Open with'
corner_radius = 10

# Mouse
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all

[urgency_low]
background = "#383c4af0"
timeout = 3

[urgency_normal]
background = "#383c4af0"
timeout = 8

[urgency_critical]
background = "#9b4d4bf0"
frame_color = "#ab6d6b"
highlight = "#eb4d4b"
foreground = "#ffffff"
timeout = 0

# Rules
[fullscreen_delay_everything]
fullscreen = delay

[fullscreen_show_critical]
msg_urgency = critical
fullscreen = show