initial commit
This commit is contained in:
commit
1f9e5e17af
19 changed files with 1515 additions and 0 deletions
68
modules/rice/dunst.nix
Normal file
68
modules/rice/dunst.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
pkgs,
|
||||
theme,
|
||||
...
|
||||
}: let
|
||||
inherit (theme) x;
|
||||
in {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
package = pkgs.dunst.overrideAttrs (_: {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "sioodmy";
|
||||
repo = "dunst";
|
||||
rev = "6477864bd870dc74f9cf76bb539ef89051554525";
|
||||
sha256 = "FCoGrYipNOZRvee6Ks5PQB5y2IvN+ptCAfNuLXcD8Sc=";
|
||||
};
|
||||
});
|
||||
iconTheme = {
|
||||
package = pkgs.catppuccin-papirus-folders;
|
||||
name = "Papirus";
|
||||
};
|
||||
settings = with theme.colors; {
|
||||
global = {
|
||||
frame_color = "#${pink}95";
|
||||
separator_color = x pink;
|
||||
width = 220;
|
||||
height = 280;
|
||||
offset = "0x15";
|
||||
font = "Lexend 12";
|
||||
corner_radius = 10;
|
||||
origin = "top-center";
|
||||
notification_limit = 3;
|
||||
idle_threshold = 120;
|
||||
ignore_newline = "no";
|
||||
mouse_left_click = "close_current";
|
||||
mouse_right_click = "close_all";
|
||||
sticky_history = "yes";
|
||||
history_length = 20;
|
||||
show_age_threshold = 60;
|
||||
ellipsize = "middle";
|
||||
padding = 10;
|
||||
always_run_script = true;
|
||||
frame_width = 2;
|
||||
transparency = 10;
|
||||
progress_bar = true;
|
||||
progress_bar_frame_width = 0;
|
||||
highlight = x pink;
|
||||
};
|
||||
fullscreen_delay_everything.fullscreen = "delay";
|
||||
urgency_low = {
|
||||
background = "#${base}83";
|
||||
foreground = x text;
|
||||
timeout = 5;
|
||||
};
|
||||
urgency_normal = {
|
||||
background = "#${base}83";
|
||||
foreground = "#c6d0f5";
|
||||
timeout = 6;
|
||||
};
|
||||
urgency_critical = {
|
||||
background = "#${base}83";
|
||||
foreground = x text;
|
||||
frame_color = "#${red}80";
|
||||
timeout = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue