fix(dunst): symlink to themes properly
This commit is contained in:
parent
713815d335
commit
b11fb50222
3 changed files with 28 additions and 22 deletions
|
|
@ -35,6 +35,29 @@ let
|
|||
border=${hexToFuzzel palette.border}
|
||||
counter=${hexToFuzzel palette.fgAlt}
|
||||
'';
|
||||
|
||||
mkDunstTheme = palette: ''
|
||||
[global]
|
||||
frame_color = "${palette.border}"
|
||||
separator_color = "frame"
|
||||
background = "${palette.bg}"
|
||||
foreground = "${palette.fg}"
|
||||
|
||||
[urgency_low]
|
||||
background = "${palette.bg}"
|
||||
foreground = "${palette.fg}"
|
||||
frame_color = "${palette.border}"
|
||||
|
||||
[urgency_normal]
|
||||
background = "${palette.bg}"
|
||||
foreground = "${palette.fg}"
|
||||
frame_color = "${palette.border}"
|
||||
|
||||
[urgency_critical]
|
||||
background = "${palette.bg}"
|
||||
foreground = "${palette.red}"
|
||||
frame_color = "${palette.red}"
|
||||
'';
|
||||
in
|
||||
{
|
||||
home.sessionVariables = lib.mkMerge [
|
||||
|
|
@ -267,33 +290,14 @@ in
|
|||
padding = 10;
|
||||
horizontal_padding = 10;
|
||||
frame_width = 3;
|
||||
frame_color = c.border;
|
||||
separator_color = "frame";
|
||||
separator_height = 1;
|
||||
gap_size = 8;
|
||||
corner_radius = 0;
|
||||
background = c.bg;
|
||||
foreground = c.fg;
|
||||
alignment = "left";
|
||||
ellipsize = "end";
|
||||
icon_position = "left";
|
||||
max_icon_size = 32;
|
||||
};
|
||||
urgency_low = {
|
||||
background = c.bg;
|
||||
foreground = c.fg;
|
||||
frame_color = c.border;
|
||||
};
|
||||
urgency_normal = {
|
||||
background = c.bg;
|
||||
foreground = c.fg;
|
||||
frame_color = c.border;
|
||||
};
|
||||
urgency_critical = {
|
||||
background = c.bg;
|
||||
foreground = c.red;
|
||||
frame_color = c.red;
|
||||
};
|
||||
ctl = {
|
||||
appname = "ctl";
|
||||
icon_position = "off";
|
||||
|
|
@ -304,6 +308,8 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
xdg.configFile."dunst/themes/midnight.conf".text = mkDunstTheme config.palettes.midnight;
|
||||
xdg.configFile."dunst/themes/daylight.conf".text = mkDunstTheme config.palettes.daylight;
|
||||
xdg.configFile."waybar/themes/midnight.css".text = mkWaybarTheme config.palettes.midnight;
|
||||
xdg.configFile."waybar/themes/daylight.css".text = mkWaybarTheme config.palettes.daylight;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue