pinwheel: Extract dunst to module

This commit is contained in:
Alexander Heldt
2023-09-19 22:14:47 +02:00
parent 0847797c0c
commit c241d3bfd3
4 changed files with 63 additions and 4 deletions

View File

@@ -0,0 +1,42 @@
{ pkgs, ... }:
{
home-manager.users.alex = {
services.dunst = {
enable = true;
settings = {
global = {
width = 300;
height = 300;
offset = "10x50";
origin = "top-right";
transparency = 10;
frame_color = "#a57b06";
font = "DejaVuSansM Nerd Font Mono 14";
};
urgency_low = {
background = "#222222";
foreground = "#888888";
timeout = 10;
};
urgency_normal = {
background = "#262626";
foreground = "#f9c22b";
timeout = 10;
};
urgency_critical = {
background = "#900000";
foreground = "#ffffff";
frame_color = "#ff0000";
timeout = 10;
};
};
};
home.packages = [ pkgs.libnotify ];
};
}