paper
This commit is contained in:
parent
94db9bfcd6
commit
9ba3b9d1a7
5 changed files with 26 additions and 21 deletions
|
|
@ -1,20 +1,22 @@
|
|||
{ conf, ... }:
|
||||
{
|
||||
home.file.wallpaper = {
|
||||
target = ".config/hypr/${conf.wallpaper}";
|
||||
source = ../wallpapers/${conf.wallpaper};
|
||||
home.file.".config/hypr/wallpaper.png" = {
|
||||
source = ../../wallpapers/default.png;
|
||||
};
|
||||
|
||||
home.file.hyprpaper = let
|
||||
file = home.file.wallpaper.target;
|
||||
in {
|
||||
target = ".config/hypr/hyprpaper.conf";
|
||||
text = ''
|
||||
preload = ${file}
|
||||
services.hyprpaper = let
|
||||
default = "/home/${conf.user}/.config/hypr/default.png";
|
||||
in {
|
||||
enable = true;
|
||||
|
||||
wallpaper = ,${file}
|
||||
settings = {
|
||||
splash = false;
|
||||
|
||||
splash = false
|
||||
'';
|
||||
preload = [ default ];
|
||||
|
||||
wallpaper = [
|
||||
",${default}"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue