paper
This commit is contained in:
parent
5233f56434
commit
94db9bfcd6
4 changed files with 29 additions and 6 deletions
20
home/hyprland/hyprpaper.nix
Normal file
20
home/hyprland/hyprpaper.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ conf, ... }:
|
||||
{
|
||||
home.file.wallpaper = {
|
||||
target = ".config/hypr/${conf.wallpaper}";
|
||||
source = ../wallpapers/${conf.wallpaper};
|
||||
};
|
||||
|
||||
home.file.hyprpaper = let
|
||||
file = home.file.wallpaper.target;
|
||||
in {
|
||||
target = ".config/hypr/hyprpaper.conf";
|
||||
text = ''
|
||||
preload = ${file}
|
||||
|
||||
wallpaper = ,${file}
|
||||
|
||||
splash = false
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue