aboutsummaryrefslogtreecommitdiff
path: root/modules/home-manager/dunst.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home-manager/dunst.nix')
-rw-r--r--modules/home-manager/dunst.nix23
1 files changed, 22 insertions, 1 deletions
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";
};
};
+
};
};
}