polyabr and dunst

This commit is contained in:
Cheri 2020-08-03 21:59:39 +03:00 committed by vibikim
parent e7606ac72f
commit 0681030611
9 changed files with 563 additions and 308 deletions

View file

@ -29,7 +29,7 @@
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "300x5-30+20"
geometry = "0x0-30+20"
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
@ -72,7 +72,7 @@
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
separator_color = auto
# Sort messages by urgency.
sort = yes
@ -85,8 +85,7 @@
idle_threshold = 120
### Text ###
font = Monospace 8
font = JetBrains Mono Medium 10
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
@ -100,7 +99,7 @@
# <u>underline</u>
#
# For a complete reference see
# <https://developer.gnome.org/pango/stable/pango-Markup.html>.
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
@ -130,11 +129,7 @@
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
@ -166,11 +161,6 @@
# Align icons left/right/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
@ -192,7 +182,7 @@
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox -new-tab
browser = /usr/bin/brave
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
@ -222,13 +212,7 @@
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
corner_radius = 5
### Legacy
@ -244,18 +228,16 @@
### mouse
# Defines list of actions for each mouse event
# Defines action of mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: If the notification has exactly one action, or one is marked as default,
# invoke it. If there are multiple and no default, open the context menu.
# * close_current: Close current notification.
# * close_all: Close 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
mouse_left_click = do_action
mouse_middle_click = close_all
mouse_right_click = close_current
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
@ -292,26 +274,26 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#888888"
timeout = 10
background = "#2b2b2b"
foreground = "#ffffff"
timeout = 5
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
icon = /home/brodie/.config/dunst/normal.png
[urgency_normal]
background = "#285577"
background = "#2b2b2b"
foreground = "#ffffff"
timeout = 10
timeout = 5
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
icon = /home/brodie/.config/dunst/normal.png
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0
timeout = 5
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon
icon = /home/brodie/.config/dunst/critical.png
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.