summaryrefslogtreecommitdiff
path: root/dunst/.config/dunst/dunstrc
blob: a6941fe990abcb4d18fc405c8adfb09f47ee9d6c (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
[global]
    # Make the width 3740 (3840 - 100), have 50 left margin and 95 above
    geometry = "350x5-10+25"
    monitor = 0
    follow = keyboard
    indicate_hidden = yes
    shrink = yes
    transparency = 0
    notification_height = 0
    # Show multiple notifications in the same box
    separator_height = 2
    separator_color = frame
    sort = yes

    # Add vertical padding to the inside of the notification
    padding = 14

    # Add horizontal padding for when the text gets long enough
    horizontal_padding = 14

    # The frame color and width of the notification
    frame_color = "#2f2f2f"
    frame_width = 5
    line_height = 0

    # How long a user needs to be idle for sticky notifications
    idle_threshold = 120

    # Font and typography settings
    icon_path = /home/x/.icons/Blue-Maia/status/:/home/x/.icons/Blue-Maia/status/devices/:/home/x/.icons/Blue-Maia/status/apps
    font = JetBrains Mono Nerd Font Mono 10
    alignment = center
    show_age_threshold = 60
    ellipsize = middle
    ignore_newline = no
    stack_duplicates = true
    hide_duplicate_count = true
    show_indicators = yes
    icon_position = left
    max_icon_size = 40
    sticky_history = yes
    history_length = 20
    dmenu = /usr/bin/dmenu -p dunst:
    browser = /usr/bin/firefox -new-tab

    # Always run rule-defined scripts, even if the notification is suppressed
    always_run_script = true

    title = Dunst
    class = Dunst
    startup_notification = false
    force_xinerama = false
    word_wrap = yes

    # Format for how notifications will be displayed
    # Usage: `notify-send 'Title' 'Summary'`
    format = "<b>%s</b>: %b"

    # Allow some HTML tags like <i> and <u> in notifications
    markup = full

# These are the keybindings used to control dunst notifications
[shortcuts]
    close = ctrl+space
    close_all = ctrl+shift+space
    history = ctrl+grave

# Set the background and foreground (text) color for all notifications
[urgency_low]
background = "#f3f4f5"
foreground = "#2f2f2f"
timeout = 5

[urgency_normal]
background = "#f3f4f5"
foreground = "#2f2f2f"
timeout = 5

[urgency_critical]
background = "#f3f4f5"
foreground = "#2f2f2f"
timeout = 0
# vim:ft=cfg