aboutsummaryrefslogtreecommitdiffstats
path: root/dunst/dunstrc
blob: a701a24bea01101ef558cd724e7d40358debc0d0 (plain) (blame)
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
[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 = 3
    # Color of frame around window
    frame_color = "#1bfd9c"
    # Sort messages by urgency
    sort = yes
    # Idle seconds
    idle_threshold = 0

    ### Text ###
    
    # Set font of notifications
    font = Iosevka 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 = "<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
    # 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