diff options
author | Tom Willemse | 2022-07-21 22:20:55 -0700 |
---|---|---|
committer | Tom Willemse | 2022-07-21 22:20:55 -0700 |
commit | 892a409184d8abba2dcb660615b753abb9906220 (patch) | |
tree | c821efe7a39a10a7483454f2b7eda0103ebb5c62 /oni/home/data | |
parent | 325044450333ec9429094f55dca88308246a6d95 (diff) | |
download | new-dotfiles-892a409184d8abba2dcb660615b753abb9906220.tar.gz new-dotfiles-892a409184d8abba2dcb660615b753abb9906220.zip |
Add dunst configuration
Diffstat (limited to 'oni/home/data')
-rw-r--r-- | oni/home/data/config.scm | 56 |
1 files changed, 55 insertions, 1 deletions
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 "<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"))))))))) |