From b0c76359607a59aa38424dde3979ad1144be1125 Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 18 Sep 2025 23:22:31 +0200 Subject: feat: change offset, colors --- modules/home-manager/dunst.nix | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/home-manager/dunst.nix b/modules/home-manager/dunst.nix index 8d97dea..da6b539 100644 --- a/modules/home-manager/dunst.nix +++ b/modules/home-manager/dunst.nix @@ -1,20 +1,41 @@ { config, lib, + pkgs, ... }: { options.dunst.enable = lib.mkEnableOption "Enable dunst notification"; config = lib.mkIf config.dunst.enable { + home.packages = with pkgs; [ + libnotify + ]; + services.dunst = { enable = true; settings = { global = { - transparency = 10; font = "monospace 10"; + offset = "(15, 15)"; + frame_width = 0; + }; + urgency_low = { + foreground = "#FFFFFF"; + background = "#000000E6"; + }; + + urgency_normal = { + foreground = "#FFFFFF"; + background = "#000000E6"; + }; + + urgency_critical = { + foreground = "#FFFFFF"; + background = "#000000E6"; }; }; + }; }; } -- cgit v1.3.1