update tlp and bar
This commit is contained in:
36
home/system/dunst/default.nix
Normal file
36
home/system/dunst/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
accent = "#${config.lib.stylix.colors.base0D}";
|
||||
accent-alt = "#${config.lib.stylix.colors.base03}";
|
||||
background = "#${config.lib.stylix.colors.base00}";
|
||||
background-alt = "#${config.lib.stylix.colors.base01}";
|
||||
foreground = "#${config.lib.stylix.colors.base05}";
|
||||
font = "${config.stylix.fonts.sansSerif.name}";
|
||||
font-size = "${toString config.stylix.fonts.sizes.desktop}";
|
||||
|
||||
inherit (config.var.theme) rounding border-size gaps-in gaps-out;
|
||||
in {
|
||||
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
height = 300;
|
||||
offset = "15x15";
|
||||
origin = "top-right";
|
||||
follow = "keyboard";
|
||||
shrink = "no";
|
||||
transparency = 0;
|
||||
separator_height = 2;
|
||||
padding = gaps-in;
|
||||
horizontal_padding = gaps-in;
|
||||
corner_radius = rounding;
|
||||
gap_size = gaps-out;
|
||||
frame_width = border-size;
|
||||
markup = "full";
|
||||
word_wrap = "yes";
|
||||
ellipsize = "middle";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user