Updated hyprland setup with basic wallpaper support
This commit is contained in:
25
modules/home/wallpaper.nix
Normal file
25
modules/home/wallpaper.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
wallpapers = config.xdg.userDirs.extraConfig.XDG_WALLPAPERS_DIR;
|
||||
in
|
||||
{
|
||||
home.file."${wallpapers}" = {
|
||||
source = ../../wallpapers;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
services.wpaperd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default = {
|
||||
mode = "center";
|
||||
};
|
||||
any = {
|
||||
path = "${wallpapers}/lanterns_of_twilight.png";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user