desktop is building I guess, idk, need to start commiting stuff eventually lmao
This commit is contained in:
18
modules/home/desktop/hyprland/services/hyprpaper/default.nix
Normal file
18
modules/home/desktop/hyprland/services/hyprpaper/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, lib, namespace, ... }:
|
||||
let
|
||||
cfg = config.${namespace}.desktop.hyprland;
|
||||
in
|
||||
{
|
||||
imports = [ ../../options.nix ];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
preload = [ "/run/wallpaper.jpg" ];
|
||||
wallpaper = "/run/wallpaper.jpg";
|
||||
splash = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user