NixOS/home/modules/hyprland/wallust/wlogout.nix

47 lines
1.3 KiB
Nix
Raw Permalink Normal View History

{ config, lib, ... }:
let
cfg = config.profile.hyprland;
in
{
config = lib.mkIf cfg.enable {
home.file.".config/wallust/templates/wlogout.css".text = # css
''
@define-color foreground {{foreground}};
@define-color background {{background}};
@define-color cursor {{cursor}};
@define-color color0 {{color0}};
@define-color color1 {{color1}};
@define-color color2 {{color2}};
@define-color color3 {{color3}};
@define-color color4 {{color4}};
@define-color color5 {{color5}};
@define-color color6 {{color6}};
@define-color color7 {{color7}};
@define-color color8 {{color8}};
@define-color color9 {{color9}};
@define-color color10 {{color10}};
@define-color color11 {{color11}};
@define-color color12 {{color12}};
@define-color color13 {{color13}};
@define-color color14 {{color14}};
@define-color color15 {{color15}};
window {
background: url("${config.home.homeDirectory}/.cache/wallpaper/blurred.png");
background-size: cover;
}
'';
profile.hyprland.wallust.settings.templates.wlogout =
let
out = config.home.homeDirectory + "/.cache/wallust";
in
{
template = "wlogout.css";
target = out + "/wlogout.css";
};
};
}