84 lines
2.2 KiB
Nix
84 lines
2.2 KiB
Nix
{ pkgs, ... }:
|
|
let rofi_dmenu = "${pkgs.rofi} -dmenu";
|
|
firefox = "${pkgs.firefox}/bin/firefox";
|
|
dmenu = "${pkgs.dmenu}/bin/dmenu";
|
|
in {
|
|
home.packages = with pkgs; [ dunst nerdfonts ];
|
|
services.dunst = {
|
|
enable = true;
|
|
iconTheme = {
|
|
package = pkgs.qogir-icon-theme;
|
|
name = "Qogir-dark";
|
|
};
|
|
settings = {
|
|
global = {
|
|
monitor = 0;
|
|
follow = "keyboard";
|
|
geometry = "300x6-20+50";
|
|
indicate_hidden = "yes";
|
|
shrink = "yes";
|
|
transparency = 10;
|
|
notification_height = 0;
|
|
separator_height = 2;
|
|
padding = 8;
|
|
horizontal_padding = 8;
|
|
frame_width = 2;
|
|
frame_color = "#2E3440";
|
|
separator_color = "#404859";
|
|
sort = "yes";
|
|
idle_threshold = 120;
|
|
|
|
font = "FuraCode Nerd Font Mono 10";
|
|
line_height = 0;
|
|
markup = "full";
|
|
format = "<b>%s</b>\\n%b";
|
|
alignment = "left";
|
|
show_age_threshold = 60;
|
|
word_wrap = "yes";
|
|
ellipsize = "middle";
|
|
ignore_newline = "no";
|
|
stack_duplicates = "true";
|
|
hide_duplicate_count = "false";
|
|
show_indicators = "yes";
|
|
icon_position = "off";
|
|
max_icon_size = 32;
|
|
sticky_history = "yes";
|
|
history_length = 20;
|
|
dmenu = "${dmenu} -p dunst:";
|
|
browser = "${firefox} -new-tab";
|
|
always_run_script = "true";
|
|
title = "Dunst";
|
|
class = "Dunst";
|
|
startup_notification = "false";
|
|
verbosity = "mesg";
|
|
corner_radius = 0;
|
|
force_xinerama = "false";
|
|
mouse_left_click = "close_current";
|
|
mouse_middle_click = "do_action";
|
|
mouse_right_click = "close_all";
|
|
};
|
|
urgency_low = {
|
|
background = "#2E3440";
|
|
foreground = "#D8DEE9";
|
|
timeout = 10;
|
|
};
|
|
urgency_normal = {
|
|
background = "#2E3440";
|
|
foreground = "#D8DEE9";
|
|
timeout = 10;
|
|
};
|
|
urgency_critical = {
|
|
background = "#2E3440";
|
|
foreground = "#D8DEE9";
|
|
frame_color = "#ff0000";
|
|
timeout = 0;
|
|
};
|
|
shortcuts = {
|
|
close = "ctrl+space";
|
|
close_all = "ctrl+shift+space";
|
|
history = "ctrl+backslash";
|
|
context = "ctrl+shift+period";
|
|
};
|
|
};
|
|
};
|
|
}
|