diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc new file mode 100644 index 0000000..c56a53f --- /dev/null +++ b/.config/dunst/dunstrc @@ -0,0 +1,209 @@ + +[global] + + # --- Display --- # + + # The monitor to be displayed to + monitor = 0 + + # Follow monitor with mouse + follow = mouse + + # The geometry of the window + # widthxheight +/-x+/-y + geometry = "270x6-24+68" + + # geometry = "280x50-10+48" + + # Show how many messages are hidden + indicate_hidden = yes + + # Shrink window if it's smaller than the width. + shrink = no + + # The transparency of the window. + transparency = 1 + + # Set height to padding + font size + notification_height = 0 + + # Draw a line between multiple notifications + separator_height = 3 + separator_color = "#auto" + + # Set notification padding + padding = 16 + horizontal_padding = 16 + + # Disable frame (border) + frame_width = 3 + + # Sort messages by urgency. + sort = no + + # Disable idle time + idle_threshold = 0 + + + # --- Text --- # + + # Set the font + # font = "Noto Sans 11" + # font = "Hack Nerd Font 9.5" + font = JetBrains Mono 10 + + # Set line height to font height + line_height = 4 + + # Reference for markup and formatting: + # bold + # italic + # strikethrough + # underline + # . + # %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 + # %n progress value if set without any extra characters + # %% Literal % + + markup = full + format = "%s\n%b" + + # Left align the text + alignment = left + + # Vertical alignment of message text and icon. + vertical_alignment = center + + # Show age of message if message is old + show_age_threshold = 120 + + # Wrap text if it doesn't fit in geometry + word_wrap = yes + + # Where to place ellipses if word wrap is disabled + # ellipsize = middle + + # Use newlines '\n' in notifications. + ignore_newline = no + + # Don't stack together notifications + stack_duplicates = false + + # Hide the count of stacked notifications + # hide_duplicate_count = false + + # Display indicators for URLs (U) and actions (A). + show_indicators = yes + + + # ---- Icons ---- # + + # Align icons left/right/off + icon_position = left + + # Scale small icons up to this size, set to 0 to disable. + min_icon_size = 0 + + # Scale larger icons down to this size, set to 0 to disable + max_icon_size = 40 + + # Paths to default icons. + icon_path = /usr/share/icons/ePapirus/128x128/apps:/usr/share/icons/ePapirus/128x128/devices:/usr/share/icons/ePapirus/128x128/mimetypes:/usr/share/icons/ePapirus/128x128/places:/usr/share/icons/Papirus/48x48/actions:/usr/share/icons/Papirus/48x48/apps:/usr/share/icons/Papirus/48x48/devices:/usr/share/icons/Papirus/48x48:emblems:/usr/share/icons/Papirus/48x48/emotes:/usr/share/icons/Papirus/48x48/mimetypes:/usr/share/icons/Papirus/48x48/places:/usr/share/icons/Papirus/48x48/status:/usr/share/icons/Papirus/16x16/actions:/usr/share/icons/Papirus/16x16/apps:/usr/share/icons/Papirus/16x16/devices:/usr/share/icons/Papirus/16x16/emblems:/usr/share/icons/Papirus/16x16/emotes:/usr/share/icons/Papirus/16x16/mimetypes:/usr/share/icons/Papirus/16x16/panel:/usr/share/icons/Papirus/16x16/places:/usr/share/icons/Papirus/16x16/status + + + # --- History --- # + + # Avoid timing out hidden notifications + sticky_history = yes + + # Maximum amount of notifications kept in history + history_length = 100 + + + # --- Misc/Advanced --- # + + 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 = false + + # Define the title of the windows spawned by dunst + title = Dunst + + # Define the class of the windows spawned by dunst + class = Dunst + + # Avoid printing a notification on startup + startup_notification = false + + # Manage dunst's desire for talking + verbosity = mesg + + # Define the corner radius of the notification window + corner_radius = 0 + + # Don't gnore the dbus closeNotification message. + ignore_dbusclose = false + + + # --- Legacy --- # + + # Use the Xinerama extension instead of RandR for multi-monitor support. + force_xinerama = false + + + # --- Mouse --- # + mouse_middle_click = close_current + mouse_left_click = do_action, close_current + mouse_right_click = close_all + + + # --- Shortcuts --- # + # Close notification. + close = ctrl+space + + # Close all notifications. + close_all = ctrl+shift+space + + # Redisplay last message(s). + history = ctrl+grave + + # Context menu. + context = ctrl+shift+period + + +[experimental] + per_monitor_dpi = false + + +# --- Colors --- # + +[urgency_low] + # background = "#6BC6DE" + # foreground = "#d1e2e8" + + background = "#282C33" + foreground = "#D8D8D8" + timeout = 8 + +[urgency_normal] + # background = "#6BC6DE" + # foreground = "#d1e2e8" + background = "#282C33" + foreground = "#D8D8D8" + timeout = 8 + +[urgency_critical] + background = "#dd130ddd" + foreground = "#ffffff" + frame_color = "#30343B" + timeout = 0 + icon = abrt