feat(gui): regreet csd and background image

This commit is contained in:
514fpv 2024-01-03 11:46:41 +08:00
parent b061944d2c
commit 0410a5c1d9
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 8 additions and 1 deletions

View file

@ -4,7 +4,14 @@
, ... }: with lib; let , ... }: with lib; let
cfg = config.faucet.gui; cfg = config.faucet.gui;
in mkIf (cfg.enable && cfg.session) { in mkIf (cfg.enable && cfg.session) {
programs.regreet.enable = true; programs.regreet = {
enable = true;
cageArgs = [ "-s" "-d" "-m" "last" ];
settings = {
background.path = ../../share/54345906_p0.jpg;
gtk.application_prefer_dark_theme = true;
};
};
environment.persistence."/nix/persist/fhs".directories = [ "/var/cache/regreet" ]; environment.persistence."/nix/persist/fhs".directories = [ "/var/cache/regreet" ];
} }

BIN
share/54345906_p0.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB