aboutsummaryrefslogtreecommitdiff
path: root/.config/dunst/dunstrc
blob: 77ef90b3562f4ec042af9dc679eeed47765487fa (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
[frame]
    width = 0
    color = "#212121"

[urgency_low]
    background = "#000000"
    foreground = "#ffffff"
    timeout = 10

[urgency_normal]
    background = "#212121"
    foreground = "#ffffff"
    timeout = 10

[urgency_critical]
    background = "#fbc02d"
    foreground = "#000000"
    timeout = 0

[global]
    # The format of the message.  Possible 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
    format = "%a\n<b>%s</b>\n%b\n%p"

    # The geometry of the window. Format: [{width}]x{height}[+/-{x}+/-{y}]
    # The height = number of notifications, all other variables are px
    # Omit width, provide height for full-screen width notifications
    # If width is 0, window will fit to longest message
    # Positive x value is measured from the left of the screen, negative x is measured from the right
    # Positive y value is measured from the top of the screen
    geometry = "300x5-50+75"

    font = Roboto 10
    allow_markup = yes
    plain_text = no             # Treat message as plain text
    sort = yes                  # Sort messages by urgency
    indicate_hidden = yes       # Show how many messages are currently hidden (see geometry)
    alignment = center          # Align text left/center/right
    bounce_freq = 0             # Frequency to bounce text back and forth if it is longer than the window width (conflicts with "word_wrap")
    show_age_threshold = 60     # Show if message is older than x seconds (-1 to disable)
    word_wrap = yes             # Split notifications into multiple lines if they don't fit into geometry
    ignore_newline = no         # Ignore "\n"
    transparency = 40           # The transparency of the window. 0 (opaque) to 100 (transparent) - requires compositing window manager (xcompmgr, compiz, compton, etc)
    shrink = no                 # Shrink window if it's smaller than the width (ignored if width is 0)
    monitor = 0                 # Display notifications on the monitor indicated (0 is default)
    follow = none               # Follow mouse/keyboard/none
    show_indicators = no        # Display indicators for URLs (U) and actions (A)
    line_height = 0             # The spacing between lines (forced to height of font at minimum)
    notification_height = 0     # The height of the entire notification (forced to height of font height and padding at minimum)
    separator_height = 2        # Space in pixels between two notifications
    padding = 8                 # Padding between text and separator
    horizontal_padding = 8      # Horizontal padding
    separator_color = frame     # Color for separator: auto/foreground/frame/X color
    icon_position = left        # Align icons left/right/off

    idle_threshold = 120        # Don't remove messages if the user is idle (no mouse or keyboard input) for longer than idle_threshold seconds
    sticky_history = yes        # Make notifications remain until clicked on (yes) or timeout as normal (no) when recalled from history
    history_length = 20         # Maximum amount of notifications kept in history

    icon_folders = /usr/share/icons/hicolor/16x16
    startup_notification = false
    dmenu = /usr/bin/dmenu -p dunst:
    browser = /usr/bin/firefox -new-tab

[shortcuts]
    # Available modifiers are "ctrl", "mod1", "mod2", "mod3", and "mod4"
    # Xev might be helpful to find names for keys

    # Close notification
    close = ctrl+space

    # Close all notifications
    close_all = ctrl+shift+space

    # Recall last message(s) 
    history = mod1+grave

    # Context menu
    # context = ctrl+shift+period
nihil fit ex nihilo