mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
chore: init
This commit is contained in:
commit
1b2c1ea359
891 changed files with 37053 additions and 0 deletions
51
modules/home/gui/desktop/wayland/dunst/config/settings.nix
Executable file
51
modules/home/gui/desktop/wayland/dunst/config/settings.nix
Executable file
|
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
flake,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
||||
inherit (flake.config.aesthetics.themes)
|
||||
currentTheme
|
||||
palettes
|
||||
fonts
|
||||
;
|
||||
|
||||
inherit (flake.config.people) user0;
|
||||
|
||||
user = config.home.username;
|
||||
|
||||
themeLogic = if user == user0 then currentTheme else currentTheme;
|
||||
|
||||
el = palettes.${themeLogic}.colours;
|
||||
|
||||
makeColor = c: "#" + c;
|
||||
in
|
||||
{
|
||||
global = {
|
||||
font = "${fonts.name} ${builtins.toString fonts.sizes.popups}";
|
||||
background = makeColor el.base01;
|
||||
frame_color = makeColor el.base0E;
|
||||
foreground = makeColor el.base05;
|
||||
corner_radius = 10;
|
||||
fade_in_duration = 1000;
|
||||
frame = 10000;
|
||||
frame_width = 1;
|
||||
icon_corner_radius = 10;
|
||||
monitor = 1;
|
||||
offset = "20x20";
|
||||
origin = "bottom-right";
|
||||
progress_bar_corner_radius = 4;
|
||||
timeout = 10;
|
||||
transparecncy = true;
|
||||
};
|
||||
|
||||
urgency_critical = {
|
||||
frame_color = makeColor el.base09;
|
||||
timeout = 0;
|
||||
};
|
||||
skip-rule = {
|
||||
appname = "flameshot";
|
||||
skip_display = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue