summaryrefslogtreecommitdiff
path: root/.config/dunst/dunstrc
blob: fc93a1291d79c033cd6fe0fc291ec89240fd376c (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
# -*- Mode: conf -*-
[global]

    # Markup syntax:
    #   http://developer.gnome.org/pango/stable/PangoMarkupFormat.html
    # Format string variables:
    #   %a  appname
    #   %s  summary
    #   %b  body
    #   %i  iconname (including its path)
    #   %I  iconname (without its path)
    #   %p  progress value if set ([  0%] to [100%]) or nothing

    # Message format
    format = "<b>%s</b>\n%b"
    allow_markup = yes
    ignore_newline = no
    # Message word-wrap/scroll
    word_wrap = yes         # Split lines...
    bounce_freq = 0         # ...or scroll long lines?
    # Window settings
    monitor = 0             # Default monitor
    follow = mouse          # Follow monitors? (mouse/keyboard/none)
    geometry = "300x5-0+16" # [{width}]x{height}][+/-{x}+/-{y}]
    transparency = 10
    # Layout settings
    padding = 8             # Vertical padding
    horizontal_padding = 8  # Horizontal padding
    separator_height = 2    # Height of line between notifications
    separator_color = frame # (auto/foreground/frame/<X color>)
    # Font settings
    font = Monospace 8
    line_height = 0         # if less than font height, font height is used
    allignment = left       # (left/center/right)
    # Misc.
    sort = yes              # Sort messages by urgency
    indicate_hidden = yes
    show_age_threshold = 60 # -1 to disable
    idle_threshold = 120    # Don't timeout messages if the user is gone
    sticky_history = yes    # Don't timeout messages popped up from history
    startup_notification = false # mostly for debugging
    # External programs
    dmenu = wimenu -p dunst:
    browser = v-www-browser

[frame]
    width = 1
    color = "#eeeeec"

[shortcuts]
    close = ctrl+space
    close_all = ctrl+shift+space
    history = ctrl+grave
    context = ctrl+shift+period

[urgency_low]
    background = "#2e3436"
    foreground = "#babdb6"
    timeout = 10

[urgency_normal]
    background = "#555753"
    foreground = "#eeeeec"
    timeout = 10

[urgency_critical]
    background = "#cc0000"
    foreground = "#eeeeec"
    timeout = 0


# Every section that isn't one of the above is interpreted as a rules
# to override settings for certain messages.

# Filters: (shell-like globbing will get expanded)
#   appname
#   summary
#   body
#   icon
# Overrides:
#   timeout
#   urgency
#   foreground
#   background
#   format (blank to not display)
# Scripting:
#   If you set 'script=', the value will be called like:
#       script appname summary body icon urgency
#   Where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order to find
# fitting options for filters.