2023-11-04 02:28:27 +01:00
|
|
|
{ lib, config, pkgs, ... }: {
|
|
|
|
|
|
|
|
config = lib.mkIf (config.homecfg.wm == "Wayland") {
|
|
|
|
home.packages = with pkgs; [ libnotify ];
|
|
|
|
services.dunst = {
|
|
|
|
enable = true;
|
|
|
|
#waylandDisplay = "DP-2";
|
|
|
|
settings = {
|
|
|
|
global = {
|
|
|
|
follow = "mouse";
|
|
|
|
height = "200";
|
2023-11-29 23:50:40 +01:00
|
|
|
width = "350";
|
2023-11-04 02:28:27 +01:00
|
|
|
scale = "0";
|
|
|
|
origin = "top-right";
|
2023-11-24 16:57:46 +01:00
|
|
|
offset =
|
|
|
|
"${config.colorScheme.colors.gaps-bar}x${config.colorScheme.colors.gaps-screen}";
|
2023-11-04 02:28:27 +01:00
|
|
|
notification_limit = "0";
|
|
|
|
progress_bar = "true";
|
|
|
|
progress_bar_height = "10";
|
2023-11-29 23:50:40 +01:00
|
|
|
progress_bar_frame_width = "1";
|
|
|
|
progress_bar_min_width = "150";
|
|
|
|
progress_bar_max_width = "350";
|
2023-11-04 02:28:27 +01:00
|
|
|
indicate_hidden = "yes";
|
|
|
|
transparency = "0";
|
|
|
|
separator_height = "2";
|
|
|
|
padding = "12";
|
|
|
|
horizontal_padding = "15";
|
|
|
|
text_icon_padding = "0";
|
2023-12-01 12:54:30 +01:00
|
|
|
frame_width = "${config.colorScheme.colors.border-width}";
|
|
|
|
frame_color = "#${config.colorScheme.colors.base04}";
|
2023-11-04 02:28:27 +01:00
|
|
|
separator_color = "auto";
|
|
|
|
sort = "yes";
|
|
|
|
font = "IBM Plex Mono 14";
|
|
|
|
markup = "full";
|
|
|
|
format = ''<b>%s</b>\n<span size="small">%b</span>'';
|
|
|
|
alignment = "center";
|
|
|
|
vertical_alignment = "center";
|
|
|
|
show_age_threshold = "60";
|
|
|
|
ellipsize = "end";
|
|
|
|
ignore_newline = "no";
|
|
|
|
stack_duplicates = "true";
|
|
|
|
hide_duplicate_count = "false";
|
|
|
|
show_indicators = "yes";
|
|
|
|
min_icon_size = 32;
|
|
|
|
max_icon_size = 64;
|
|
|
|
|
|
|
|
icon_path =
|
2023-11-21 16:52:35 +01:00
|
|
|
"${pkgs.tela-circle-icon-theme}/share/icons/Tela-circle-dark/32/status:${pkgs.tela-circle-icon-theme}/share/icons/Tela-circle-dark/32/device ";
|
|
|
|
icon_theme = "Tela-circle-dark";
|
2023-11-04 02:28:27 +01:00
|
|
|
enable_recursive_icon_lookup = "true";
|
|
|
|
|
|
|
|
sticky_history = "yes";
|
|
|
|
history_length = "20";
|
|
|
|
|
|
|
|
dmenu = "wofi --show dmenu -p dunst:";
|
|
|
|
browser = "/usr/bin/xdg-open";
|
|
|
|
always_run_script = "true";
|
|
|
|
title = "Dunst";
|
|
|
|
class = "Dunst";
|
2023-11-21 16:52:35 +01:00
|
|
|
corner_radius = "${config.colorScheme.colors.border-radius}";
|
2023-11-04 02:28:27 +01:00
|
|
|
ignore_dbusclose = "false";
|
|
|
|
layer = "top";
|
|
|
|
force_xwayland = "true";
|
|
|
|
force_xinerama = "false";
|
|
|
|
|
|
|
|
mouse_left_click = "close_current";
|
|
|
|
mouse_middle_click = "context";
|
|
|
|
mouse_right_click = "do_action";
|
|
|
|
|
|
|
|
};
|
|
|
|
urgency_low = {
|
2023-12-01 12:54:30 +01:00
|
|
|
background = "#${config.colorScheme.colors.base01}";
|
2023-11-04 02:28:27 +01:00
|
|
|
foreground = "#${config.colorScheme.colors.base07}";
|
|
|
|
frame_color = "#${config.colorScheme.colors.base03}";
|
|
|
|
timeout = "3";
|
|
|
|
highlight = "#${config.colorScheme.colors.base0B}";
|
|
|
|
};
|
|
|
|
urgency_normal = {
|
2023-12-01 12:54:30 +01:00
|
|
|
background = "#${config.colorScheme.colors.base01}";
|
2023-11-04 02:28:27 +01:00
|
|
|
foreground = "#${config.colorScheme.colors.base07}";
|
2023-12-01 12:54:30 +01:00
|
|
|
frame_color = "#${config.colorScheme.colors.base04}";
|
2023-11-04 02:28:27 +01:00
|
|
|
timeout = "5";
|
|
|
|
highlight = "#${config.colorScheme.colors.base0C}";
|
|
|
|
};
|
|
|
|
urgency_critical = {
|
2023-12-01 12:54:30 +01:00
|
|
|
background = "#${config.colorScheme.colors.base01}";
|
2023-11-04 02:28:27 +01:00
|
|
|
foreground = "#${config.colorScheme.colors.base0F}";
|
2023-12-01 12:54:30 +01:00
|
|
|
frame_color = "#${config.colorScheme.colors.base0F}";
|
2023-11-04 02:28:27 +01:00
|
|
|
timeout = "10";
|
|
|
|
highlight = "#${config.colorScheme.colors.base0E}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|