aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/services/dunst.scm
diff options
context:
space:
mode:
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")))))))