new wallpaperthingie

This commit is contained in:
2026-03-17 17:51:23 +00:00
parent e03d4fe2ff
commit dd4a45cc9f
@@ -32,14 +32,14 @@ in
config = lib.mkIf config.wallpaper.enable {
# Debug: Print activation message
traceprint0 = builtins.trace "=== Wallpaper module is enabled ===";
_ = builtins.trace "=== Wallpaper module is enabled ===";
# Copy the script to the correct location and make it executable
home-manager.users.${config.home.username}.home.file."${script_path}".source = script_path;
home-manager.users.${config.home.username}.home.file."${script_path}".executable = true;
# Debug: Print script path
traceprint1 = builtins.trace "Script path: ${script_path}";
_ = builtins.trace "Script path: ${script_path}";
# Run the script on activation
home-manager.users.${config.home.username}.home.activation.copy-wallpapers = lib.mkMerge [
@@ -62,13 +62,13 @@ in
home-manager.users.${config.home.username}.home.packages = [ pkgs.wpaperd ];
# Debug: Print wpaperd installation
traceprint12 = builtins.trace "Installing wpaperd...";
_ = builtins.trace "Installing wpaperd...";
# Configure wpaperd
home-manager.users.${config.home.username}.home.file."${config.home.homeDirectory}/.config/wpaperd/config.toml".text =
builtins.readFile wallpaper_conf;
# Debug: Print config file path
traceprint3 = builtins.trace "Config file path: ${config.home.homeDirectory}/.config/wpaperd/config.toml";
_ = builtins.trace "Config file path: ${config.home.homeDirectory}/.config/wpaperd/config.toml";
};
}