🚚 [shared] Added shared config that shared desktop config inherits from
This commit is contained in:
31
shared/desktop/home-manager/hyprland/hyprpaper.nix
Normal file
31
shared/desktop/home-manager/hyprland/hyprpaper.nix
Normal file
@ -0,0 +1,31 @@
|
||||
# Wallpapers
|
||||
{
|
||||
pkgs,
|
||||
theme,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ hyprpaper ];
|
||||
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings =
|
||||
let
|
||||
defaultWallpaper = builtins.toString theme.wallpaper.default;
|
||||
in
|
||||
{
|
||||
ipc = "on";
|
||||
splash = false;
|
||||
splash_offset = 2.0;
|
||||
|
||||
preload = [
|
||||
defaultWallpaper
|
||||
];
|
||||
|
||||
wallpaper = [
|
||||
",${defaultWallpaper}"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user