Tweak dunst
This commit is contained in:
parent
d359d0dda1
commit
0ab0d39bb8
1 changed files with 53 additions and 45 deletions
|
|
@ -4,52 +4,60 @@ with lib;
|
|||
with lib.my;
|
||||
let cfg = config.modules.desktop.dunst;
|
||||
in {
|
||||
options.modules.desktop.dunst = {
|
||||
enable = mkBoolOpt false;
|
||||
};
|
||||
options.modules.desktop.dunst = { enable = mkBoolOpt false; };
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${config.user.name} = {
|
||||
services.dunst =
|
||||
{
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
alignment = "left";
|
||||
monitor = 0;
|
||||
geometry = "350x5-30+50";
|
||||
transparency = 10;
|
||||
browser = "firefox -new-tab";
|
||||
corner_radius = 2;
|
||||
dmenu = "${pkgs.rofi}/bin/rofi -dmenu -p dunst";
|
||||
follow = "none";
|
||||
origin = "top-right";
|
||||
width = 440;
|
||||
offset = "26x26";
|
||||
history_length = 20;
|
||||
icon_position = "right";
|
||||
horizontal_padding = 16;
|
||||
ignore_newline = "no";
|
||||
separator_color = "auto";
|
||||
separator_height = 4;
|
||||
line_height = 0;
|
||||
max_icon_size = 64;
|
||||
padding = 20;
|
||||
shrink = "no";
|
||||
transparency = 5;
|
||||
font = "monospace 14";
|
||||
idle_threshold = 120;
|
||||
allow_markup = "yes";
|
||||
format = "<b>%s</b>\n%b";
|
||||
show_age_threshold = 300;
|
||||
indicate_hidden = "yes";
|
||||
markup = "full";
|
||||
format = "<b>%s (%a)</b>\\n%b";
|
||||
show_age_threshold = 60;
|
||||
show_indicators = "yes";
|
||||
word_wrap = "yes";
|
||||
sticky_history = "yes";
|
||||
sort = "yes";
|
||||
};
|
||||
frame = {
|
||||
width = 3;
|
||||
color = "#ebdbb2";
|
||||
};
|
||||
shortcuts = {
|
||||
close = "ctrl+space";
|
||||
close_all = "ctrl+shift+space";
|
||||
history = "ctrl+grave";
|
||||
context = "ctrl+shift+period";
|
||||
frame_width = 1;
|
||||
frame_color = "#1d2021";
|
||||
};
|
||||
urgency_low = {
|
||||
foreground = "#ebdbb2";
|
||||
background = "#32302f";
|
||||
timeout = 10;
|
||||
background = "#3c3836";
|
||||
timeout = 8;
|
||||
};
|
||||
urgency_normal = {
|
||||
foreground = "#ebdbb2";
|
||||
background = "#32302f";
|
||||
timeout = 10;
|
||||
timeout = 14;
|
||||
};
|
||||
urgency_critical = {
|
||||
foreground = "#ebdbb2";
|
||||
background = "#32302f";
|
||||
timeout = 10;
|
||||
foreground = "#32302f";
|
||||
background = "#cc241d";
|
||||
timeout = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue