added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 236b8c2a6b
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,100 @@
{
osConfig,
config,
lib,
...
}: let
inherit (lib) mkIf;
inherit (osConfig) modules;
inherit (modules.style.colorScheme) colors;
dev = modules.device;
acceptedTypes = ["desktop" "laptop" "lite" "hybrid"];
in {
config = mkIf (builtins.elem dev.type acceptedTypes) {
services.dunst = {
enable = true;
iconTheme = {
package = config.gtk.iconTheme.package;
name = "Papirus-Dark";
};
settings = {
global = {
follow = "mouse";
width = 320;
height = 280;
origin = "top-center";
alignment = "left";
vertical_alignment = "center";
ellipsize = "middle";
offset = "17x17";
padding = 15;
horizontal_padding = 15;
text_icon_padding = 15;
icon_position = "left";
min_icon_size = 48;
max_icon_size = 64;
progress_bar = true;
progress_bar_height = 8;
progress_bar_frame_width = 1;
progress_bar_min_width = 150;
progress_bar_max_width = 300;
separator_height = 2;
frame_width = 2;
frame_color = "#${colors.base0E}";
separator_color = "frame";
corner_radius = 8;
transparency = 0;
gap_size = 8;
line_height = 0;
notification_limit = 3;
idle_threshold = 120;
history_length = 20;
show_age_threshold = 60;
markup = "full";
font = "Iosevka 16";
word_wrap = "yes";
sort = "yes";
shrink = "no";
indicate_hidden = "yes";
sticky_history = "yes";
ignore_newline = "no";
show_indicators = "no";
stack_duplicates = true;
always_run_script = true;
hide_duplicate_count = false;
ignore_dbusclose = false;
force_xwayland = false;
force_xinerama = false;
mouse_left_click = "do_action";
mouse_middle_click = "close_all";
mouse_right_click = "close_current";
};
fullscreen_delay_everything = {fullscreen = "delay";};
urgency_low = {
timeout = 3;
background = "#${colors.base02}";
foreground = "#${colors.base05}";
highlight = "#${colors.base0C}";
};
urgency_normal = {
timeout = 7;
background = "#${colors.base02}";
foreground = "#${colors.base05}";
highlight = "#${colors.base0C}";
};
urgency_critical = {
timeout = 0;
background = "#${colors.base02}";
foreground = "#${colors.base05}";
highlight = "#${colors.base08}";
};
};
};
};
}