From 1e73d404b98bba7f3a01bb086f26a107b67291d3 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Mon, 9 Dec 2024 06:31:24 -0500 Subject: refactor: dunst 1.12 changes --- .config/dunst/dunstrc | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to '.config/dunst/dunstrc') diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 1adf832..4f40f7e 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -24,19 +24,27 @@ ### Geometry ### + # The width of the window, excluding the frame. # dynamic width from 0 to 300 # width = (0, 300) # constant width of 300 width = (0, 700) - # The maximum height of a single notification, excluding the frame. - height = 500 + # The height of a single notification, excluding the frame. + # dynamic height from 0 to 300 + height = (0, 500) + # constant height of 300 + # height = 300 + # NOTE: Dunst from version 1.11 and older don't support dynamic height + # and the given value is treated as the maximum height # Position the notification in the top right corner origin = top-right # Offset from the origin - offset = 0x12 + # NOTE: Dunst from version 1.11 and older use this alternative notation + # offset = 10x50 + offset = (0, 12) # Scale factor. It is auto-detected if value is 0. scale = 0 @@ -66,9 +74,17 @@ # Corner radius for the progress bar. 0 disables rounded corners. progress_bar_corner_radius = 0 + # Define which corners to round when drawing the progress bar. If progress_bar_corner_radius + # is set to 0 this option will be ignored. + progress_bar_corners = all + # Corner radius for the icon image. icon_corner_radius = 0 + # Define which corners to round when drawing the icon image. If icon_corner_radius + # is set to 0 this option will be ignored. + icon_corners = all + # Show how many messages are currently hidden (because of # notification_limit). indicate_hidden = yes @@ -260,6 +276,13 @@ # notification height to avoid clipping text and/or icons. corner_radius = 0 + # Define which corners to round when drawing the window. If the corner radius + # is set to 0 this option will be ignored. + # + # Comma-separated list of the corners. The accepted corner values are bottom-right, + # bottom-left, top-right, top-left, top, bottom, left, right or all. + corners = all + # 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 -- cgit v1.2.3