From 56650b7316115798f0eabb08e3c3cede7fdae865 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 11 May 2019 23:10:35 +0100 Subject: [PATCH] Reset some dunst config to default so it launches on boot --- files/dunst.conf | 55 ++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/files/dunst.conf b/files/dunst.conf index 6e891eb..c403535 100644 --- a/files/dunst.conf +++ b/files/dunst.conf @@ -4,19 +4,19 @@ # Which monitor should the notifications be displayed on. monitor = 0 - follow = none + follow = keyboard # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes # Shrink window if it's smaller than the width. Will be ignored if # width is 0. - shrink = no + shrink = yes # The transparency of the window. Range: [0; 100]. # This option will only work if a compositing window manager is # present (e.g. xcompmgr, compiz, etc.). - transparency = 0 + transparency = 10 # The height of the entire notification. If the height is smaller # than the font height and padding combined, it will be raised @@ -26,13 +26,13 @@ # Draw a line of "separator_height" pixel height between two # notifications. # Set to 0 to disable. - separator_height = 5 + separator_height = 2 # Padding between text and separator. - padding = 5 + padding = 8 # Horizontal padding. - horizontal_padding = 5 + horizontal_padding = 8 # Defines width in pixels of frame around the notification window. # Set to 0 to disable. @@ -49,7 +49,8 @@ # Don't remove messages, if the user is idle (no mouse or keyboard input) # for longer than idle_threshold seconds. # Set to 0 to disable. - # Transient notifications ignore this setting. + # A client can set the 'transient' hint to bypass this. See the rules + # section for how to disable this if necessary idle_threshold = 120 ### Text ### @@ -60,38 +61,28 @@ # font height, it will get raised to the font height. line_height = 0 - markup = no + markup = full format = "%s %p\n%b" - # Alignment of message text. - # Possible values are "left", "center" and "right". alignment = left - # Show age of message if message is older than show_age_threshold - # seconds. - # Set to -1 to disable. - show_age_threshold = 60 + show_age_threshold = 120 - # Split notifications into multiple lines if they don't fit into - # geometry. word_wrap = yes - # When word_wrap is set to no, specify where to ellipsize long lines. - # Possible values are "start", "middle" and "end". ellipsize = middle - # Ignore newlines '\n' in notifications. - ignore_newline = yes + ignore_newline = no - # Merge multiple notifications with the same content + # Stack together notifications with the same content stack_duplicates = true - # Hide the count of merged notifications with the same content + # Hide the count of stacked notifications with the same content hide_duplicate_count = false # Display indicators for URLs (U) and actions (A). - show_indicators = no + show_indicators = yes ### Icons ### @@ -118,6 +109,9 @@ # dmenu path. dmenu = /usr/bin/dmenu -p dunst: + # Browser for opening urls in context menu. + browser = /usr/bin/firefox -new-tab + # Always run rule-defined scripts, even if the notification is suppressed always_run_script = true @@ -127,6 +121,21 @@ # Define the class of the windows spawned by dunst class = Dunst + startup_notification = false + + verbosity = mesg + corner_radius = 0 + + ### Legacy + + force_xinerama = false + + ### mouse + + mouse_left_click = close_current + mouse_middle_click = close_all + mouse_right_click = do_action + [experimental] per_monitor_dpi = false