From 0fb9f236a30ae6b435f7feb86ea2eb2b72a6ba73 Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Wed, 6 Jan 2021 18:08:31 +0000 Subject: [PATCH] Add Dunst module --- default.nix | 1 + modules/dunst.nix | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 modules/dunst.nix diff --git a/default.nix b/default.nix index ad248ea3..3143f537 100644 --- a/default.nix +++ b/default.nix @@ -3,6 +3,7 @@ ./stylix/default.nix ./modules/console.nix + ./modules/dunst.nix ./modules/feh.nix ./modules/fish.nix ./modules/grub.nix diff --git a/modules/dunst.nix b/modules/dunst.nix new file mode 100644 index 00000000..8c24f63c --- /dev/null +++ b/modules/dunst.nix @@ -0,0 +1,33 @@ +{ config, ... }: + +with config.lib.stylix.colors; +with config.stylix.fonts; + +{ + stylix.homeModule = { + services.dunst.settings = { + global = { + separator_color = base02-hash; + font = sansSerif.name; + }; + + urgency_low = { + background = base01-hash; + foreground = base05-hash; + frame_color = base0B-hash; + }; + + urgency_normal = { + background = base01-hash; + foreground = base05-hash; + frame_color = base0E-hash; + }; + + urgency_critical = { + background = base01-hash; + foreground = base05-hash; + frame_color = base08-hash; + }; + }; + }; +}