manual_inherit
This commit is contained in:
@@ -15,11 +15,11 @@ in
|
||||
# and provide the hyprctl hot-reload command so hyprpaper picks up the new image.
|
||||
config = lib.mkIf cfg.enable {
|
||||
${namespace}.wallpaper = {
|
||||
inherit (cfg) defaultWallpaper;
|
||||
enable = true;
|
||||
source = cfg.wallpaperSource;
|
||||
path = cfg.wallpaper;
|
||||
dir = cfg.wallpaperDir;
|
||||
defaultWallpaper = cfg.defaultWallpaper;
|
||||
reloadCommand = "${lib.getExe' pkgs.hyprland "hyprctl"} hyprpaper wallpaper ,${cfg.wallpaper},";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user