fix(dunst): theme config
This commit is contained in:
parent
5766fe81dd
commit
b51130e0c6
1 changed files with 28 additions and 32 deletions
|
|
@ -280,41 +280,37 @@ in
|
||||||
|
|
||||||
services.dunst = {
|
services.dunst = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = { };
|
||||||
global = {
|
};
|
||||||
font = "SF Pro Display 13";
|
xdg.configFile."dunst/dunstrc" = lib.mkForce {
|
||||||
width = "(0, 400)";
|
text = ''
|
||||||
height = "(0, 120)";
|
[global]
|
||||||
origin = "top-right";
|
font = SF Pro Display 13
|
||||||
offset = "(16, 16)";
|
width = (0, 400)
|
||||||
padding = 10;
|
height = (0, 120)
|
||||||
horizontal_padding = 10;
|
origin = top-right
|
||||||
frame_width = 3;
|
offset = (16, 16)
|
||||||
separator_height = 1;
|
padding = 10
|
||||||
gap_size = 8;
|
horizontal_padding = 10
|
||||||
corner_radius = 0;
|
frame_width = 3
|
||||||
alignment = "left";
|
separator_height = 1
|
||||||
ellipsize = "end";
|
gap_size = 8
|
||||||
icon_position = "left";
|
corner_radius = 0
|
||||||
max_icon_size = 32;
|
alignment = left
|
||||||
};
|
ellipsize = end
|
||||||
ctl = {
|
icon_position = left
|
||||||
appname = "ctl";
|
max_icon_size = 32
|
||||||
icon_position = "off";
|
|
||||||
format = "%s";
|
[ctl]
|
||||||
};
|
appname = ctl
|
||||||
};
|
icon_position = off
|
||||||
|
format = %s
|
||||||
|
|
||||||
|
include ${config.xdg.configHome}/dunst/themes/theme.conf
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
xdg.configFile."dunst/themes/midnight.conf".text = mkDunstTheme config.palettes.midnight;
|
xdg.configFile."dunst/themes/midnight.conf".text = mkDunstTheme config.palettes.midnight;
|
||||||
xdg.configFile."dunst/themes/daylight.conf".text = mkDunstTheme config.palettes.daylight;
|
xdg.configFile."dunst/themes/daylight.conf".text = mkDunstTheme config.palettes.daylight;
|
||||||
|
|
||||||
xdg.configFile."dunst/config".text = ''
|
|
||||||
include ${config.xdg.configHome}/dunst/dunstrc
|
|
||||||
include ${config.xdg.configHome}/dunst/themes/theme.conf
|
|
||||||
'';
|
|
||||||
|
|
||||||
systemd.user.services.dunst.Service.ExecStart =
|
|
||||||
lib.mkForce "${pkgs.dunst}/bin/dunst -config ${config.xdg.configHome}/dunst/config";
|
|
||||||
xdg.configFile."waybar/themes/midnight.css".text = mkWaybarTheme config.palettes.midnight;
|
xdg.configFile."waybar/themes/midnight.css".text = mkWaybarTheme config.palettes.midnight;
|
||||||
xdg.configFile."waybar/themes/daylight.css".text = mkWaybarTheme config.palettes.daylight;
|
xdg.configFile."waybar/themes/daylight.css".text = mkWaybarTheme config.palettes.daylight;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue