Add ‘origin’ configuration property for dunst

This commit is contained in:
Tom Willemse 2023-03-06 10:20:10 -08:00
parent dcc432ed42
commit 16ee76bad4

View file

@ -136,6 +136,9 @@ notification width.")
(notification-limit (notification-limit
maybe-integer maybe-integer
"The number of notifications that can appear at one time.") "The number of notifications that can appear at one time.")
(origin
(symbol 'top-right)
"The origin of the notification window on the screen.")
(offset (offset
maybe-list-of-numbers maybe-list-of-numbers
"Respectively the horizontal and vertical offset in pixels from the corner of "Respectively the horizontal and vertical offset in pixels from the corner of
@ -257,6 +260,7 @@ horizontal axis.")
(markup 'full) (markup 'full)
(format "<u>%s</u>\\n\\n%b") (format "<u>%s</u>\\n\\n%b")
(width '(0 600)) (width '(0 600))
(origin 'top-center)
(idle-threshold 120) (idle-threshold 120)
(padding 15) (padding 15)
(horizontal-padding 15) (horizontal-padding 15)