slightly nixify dunst
This commit is contained in:
parent
d2b1dbdb58
commit
e2f99e576b
4 changed files with 77 additions and 71 deletions
|
@ -11,7 +11,80 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
hm.services.dunst = {
|
||||
enable = true;
|
||||
configFile = ../../config/dunst.conf;
|
||||
settings = with config.colorScheme.palette; {
|
||||
global = {
|
||||
follow = "mouse";
|
||||
width = 300;
|
||||
height = 145;
|
||||
frame_color = "#f5c2e7"; # catppuccin pink
|
||||
|
||||
origin = "top-right";
|
||||
vertical_alignment = "center";
|
||||
ellipsize = "middle";
|
||||
|
||||
# various non-color theming settings
|
||||
offset = "15x15";
|
||||
padding = 15;
|
||||
horizontal_padding = 15;
|
||||
text_icon_padding = 15;
|
||||
corner_radius = 8;
|
||||
gap_size = 8;
|
||||
frame_width = 1;
|
||||
transparency = 1;
|
||||
|
||||
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;
|
||||
|
||||
alignment = "left";
|
||||
markup = "full";
|
||||
format = "<b>%a</b>\\n<b>%s</b>\\n%b";
|
||||
font = with config.modules.desktop.fonts.fonts; "${sansSerif.family} ${toString sansSerif.size}";
|
||||
word_wrap = "yes";
|
||||
|
||||
ignore_newline = "no";
|
||||
ignore_dbusclose = false;
|
||||
|
||||
mouse_left_click = "do_action, close_current";
|
||||
mouse_middle_click = "close_all";
|
||||
mouse_right_click = "close_current";
|
||||
|
||||
# sorting and history settings
|
||||
sort = "update";
|
||||
notification_limit = 4;
|
||||
indicate_hidden = "yes";
|
||||
idle_threshold = 120;
|
||||
history_length = 20;
|
||||
show_age_threshold = 60;
|
||||
show_indicators = "yes";
|
||||
sticky_history = "yes";
|
||||
stack_duplicates = true;
|
||||
hide_duplicate_count = false;
|
||||
always_run_script = true;
|
||||
};
|
||||
|
||||
urgency_low = {
|
||||
background = "#${base00}30";
|
||||
foreground = "#${base05}";
|
||||
};
|
||||
|
||||
urgency_normal = {
|
||||
background = "#${base00}30";
|
||||
foreground = "#${base05}";
|
||||
};
|
||||
|
||||
urgency_critical = {
|
||||
background = "#${base00}30";
|
||||
foreground = "#${base05}";
|
||||
frame_color = "#${base08}"; # base16 spec says red
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,11 +16,11 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
security.pam.services.hyprlock.text = "auth include login";
|
||||
hm.home.packages = [ cfg.package ];
|
||||
hm.programs.hyprlock = with config.colorScheme.palette; {
|
||||
hm.programs.hyprlock = {
|
||||
enable = true;
|
||||
package = cfg.package;
|
||||
|
||||
settings = {
|
||||
settings = with config.colorScheme.palette; {
|
||||
general = {
|
||||
hide_cursor = false;
|
||||
no_fade_in = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue