aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/services/dunst.scm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-09-26 16:05:48 -0700
committerGravatar Tom Willemse2022-09-26 16:05:48 -0700
commitf33a2df7b9f630547ba081cdc2b3de5e8f6e77c1 (patch)
treef114e7a25a6b52311a614c7a9dc4bcfb5cb28885 /oni/home/services/dunst.scm
parent7771b3e1fd16a30bee09b11ecbaf2b1b69b3921b (diff)
downloadnew-dotfiles-f33a2df7b9f630547ba081cdc2b3de5e8f6e77c1.tar.gz
new-dotfiles-f33a2df7b9f630547ba081cdc2b3de5e8f6e77c1.zip
Switch rincewind over to using Guix Home
Diffstat (limited to 'oni/home/services/dunst.scm')
-rw-r--r--oni/home/services/dunst.scm57
1 files changed, 56 insertions, 1 deletions
diff --git a/oni/home/services/dunst.scm b/oni/home/services/dunst.scm
index 079f40b..3e14e93 100644
--- a/oni/home/services/dunst.scm
+++ b/oni/home/services/dunst.scm
@@ -11,7 +11,8 @@
#:use-module (guix gexp)
#:export (home-dunst-service-type
- home-dunst-configuration))
+ home-dunst-configuration
+ home-dunst-default-service))
(define (color? value)
(and (string? value)
@@ -248,3 +249,57 @@ horizontal axis.")
home-dunst-shepherd-service)))
(default-value (home-dunst-configuration))
(description "Configure dunst")))
+
+(define home-dunst-default-service
+ (service home-dunst-service-type
+ (home-dunst-configuration
+ (font "Fantasque Sans Mono 15")
+ (markup 'full)
+ (format "<u>%s</u>\\n\\n%b")
+ (width '(0 600))
+ (idle-threshold 120)
+ (padding 15)
+ (horizontal-padding 15)
+ (separator-color 'auto)
+ (dmenu "rofi -dmenu -p dunst:")
+ (browser "firefox")
+ (icon-path '("/usr/share/icons/gnome/24x24/status/"
+ "/usr/share/icons/gnome/24x24/devices/"
+ "/usr/share/icons/hicolor/24x24/apps/"))
+ (frame-width 2)
+ (frame-color "#3d3d3d")
+ (max-icon-size 24)
+ (corner-radius 10)
+ (rules
+ '(("urgency_low"
+ (background "#405c2e")
+ (foreground "#eeeeec")
+ (timeout 10))
+ ("urgency_normal"
+ (background "#222224")
+ (foreground "#eeeeec")
+ (timeout 10))
+ ("urgency_critical"
+ (background "#973732")
+ (foreground "#eeeeec")
+ (timeout 0))
+ ("Emacs"
+ (appname "Emacs")
+ (background "#7f5ab6")
+ (foreground "#fafafa"))
+ ("Metal Express Radio"
+ (appname "Metal Express Radio")
+ (background "#ef4136")
+ (foreground "#ffffff"))
+ ("Syncthing"
+ (appname "Syncthing GTK")
+ (background "#337ab7")
+ (foreground "#ffffff"))
+ ("Lollypop"
+ (appname "Lollypop")
+ (background "#fd3e75")
+ (foreground "#ffffff"))
+ ("gPodder"
+ (appname "gPodder")
+ (background "#7f5785")
+ (foreground "#ffffff")))))))