# See dunst(5) for all configuration options -*- mode: conf -*- [global] ### Display ### # Display notification on focused monitor. Possible modes are: # mouse: follow mouse pointer # keyboard: follow window with keyboard focus # none: don't follow anything # # "keyboard" needs a window manager that exports the # _NET_ACTIVE_WINDOW property. # This should be the case for almost all modern window managers. # # If this option is set to mouse or keyboard, the monitor option # will be ignored. follow = mouse ### Geometry ### # dynamic width from 0 to 300 # width = (0, 300) # constant width of 300 width = 300 # The maximum height of a single notification, excluding the frame. height = 300 # Offset from the origin # Leave 24pt space for polybar. offset = 16x40 # 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. # 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 ### font = Fira Sans 12 # The format of the message. Possible variables are: # %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 is allowed # format = "%s\n%b" format = "%a %p\n%s\n%b" ### Icons ### # Recursive icon lookup. You can set a single theme, instead of having to # define all lookup paths. enable_recursive_icon_lookup = true # Set icon theme (only used for recursive icon lookup) # You can also set multiple icon themes, with the leftmost one being used first. # icon_theme = "Adwaita, breeze" icon_theme = "Papirus-Dark, hicolor" ### History ### # Maximum amount of notifications kept in history history_length = 100 ### Misc/Advanced ### # dmenu path. dmenu = /usr/bin/env rofi -dmenu -p dunst: # Browser for opening urls in context menu. browser = /usr/bin/env xdg-open ### mouse # Defines list of actions for each mouse event # Possible values are: # * none: Don't do anything. # * do_action: Invoke the action determined by the action_name rule. If there is no # such action, open the context menu. # * open_url: If the notification has exactly one url, open it. If there are multiple # ones, open the context menu. # * close_current: Close current notification. # * close_all: Close all notifications. # * context: Open context menu for the notification. # * context_all: Open context menu for all notifications. # These values can be strung together for each mouse event, and # will be executed in sequence. mouse_left_click = close_current mouse_middle_click = do_action, close_current mouse_right_click = close_all