From 892a409184d8abba2dcb660615b753abb9906220 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 21 Jul 2022 22:20:55 -0700 Subject: Add dunst configuration --- oni/home/data/config.scm | 56 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) (limited to 'oni/home/data') diff --git a/oni/home/data/config.scm b/oni/home/data/config.scm index 4c99821..0c89d5b 100644 --- a/oni/home/data/config.scm +++ b/oni/home/data/config.scm @@ -24,6 +24,7 @@ #:use-module (oni home services cmst) #:use-module (oni home services syncthing) #:use-module (oni home services unclutter) + #:use-module (oni home services dunst) #:use-module (oni packages hlwm-run-or-raise) #:use-module (oni packages pick-random-wallpaper)) @@ -390,4 +391,57 @@ LocalForward 2812 localhost:2812")) (openssh-host (name "rincewind") (host-name "192.168.1.135") - (port 4511))))))))) + (port 4511)))))) + + (service home-dunst-service-type + (home-dunst-configuration + (font "Fantasque Sans Mono 15") + (markup 'full) + (format "%s\\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"))))))))) -- cgit v1.3-2-g0d8e