Former-commit-id: fad7c6e46d
This commit is contained in:
Hadi
2024-06-14 20:58:52 +02:00
parent 13f060d100
commit d9810c3c1f
6 changed files with 119 additions and 102 deletions

View File

@@ -1,10 +1,12 @@
{ pkgs, config, ... }: {
home.packages = with pkgs; [ hyprpaper ];
xdg.configFile."hypr/hyprpaper.conf".text = ''
preload = ~/wallpapers/${config.var.theme.wallpaper}
wallpaper = ,~/wallpapers/${config.var.theme.wallpaper}
ipc=true
splash=false
'';
{ config, ... }: {
services.hyprpaper = {
enable = true;
settings = {
ipc = "on";
splash = false;
splash_offset = 2.0;
preload = [ "~/wallpapers/${config.var.theme.wallpaper}" ];
wallpaper = [ ",~/wallpapers/${config.var.theme.wallpaper}" ];
};
};
}