aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/services/dunst.scm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-03-06 10:20:10 -0800
committerGravatar Tom Willemse2023-03-06 10:20:10 -0800
commit16ee76bad4a5fa96ba235c4e90b6340416879abd (patch)
tree90463dec460a183356e38a0c9c39a7bb12f3182f /oni/home/services/dunst.scm
parentdcc432ed429fd1eceb7ed68bc9063a7535674eb0 (diff)
downloadnew-dotfiles-16ee76bad4a5fa96ba235c4e90b6340416879abd.tar.gz
new-dotfiles-16ee76bad4a5fa96ba235c4e90b6340416879abd.zip
Add ‘origin’ configuration property for dunst
Diffstat (limited to 'oni/home/services/dunst.scm')
-rw-r--r--oni/home/services/dunst.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/oni/home/services/dunst.scm b/oni/home/services/dunst.scm
index 3e14e93..ac6f81e 100644
--- a/oni/home/services/dunst.scm
+++ b/oni/home/services/dunst.scm
@@ -136,6 +136,9 @@ notification width.")
(notification-limit
maybe-integer
"The number of notifications that can appear at one time.")
+ (origin
+ (symbol 'top-right)
+ "The origin of the notification window on the screen.")
(offset
maybe-list-of-numbers
"Respectively the horizontal and vertical offset in pixels from the corner of
@@ -257,6 +260,7 @@ horizontal axis.")
(markup 'full)
(format "<u>%s</u>\\n\\n%b")
(width '(0 600))
+ (origin 'top-center)
(idle-threshold 120)
(padding 15)
(horizontal-padding 15)