From 354ccb0f72799da8f58458e2fdad15e824e74469 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Tue, 17 Mar 2026 16:34:14 +0000 Subject: [PATCH] new wallpaperthingie --- Droidnix/README.org | 13 ++----------- .../hyprland/decorations/rotating_wallpaper.nix | 12 ++---------- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/Droidnix/README.org b/Droidnix/README.org index 05fd62297..5dbdb4b78 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -782,7 +782,6 @@ Finally, it creates a systemd user service (wpaperd.service) that automatically #+BEGIN_SRC nix :tangle generated/hyprland/decorations/rotating_wallpaper.nix :noweb tangle :mkdirp yes :eval never-html { lib, config, pkgs, flakeRoot, ... }: - builtins.trace (lib.concatStringsSep "\n" [ "=== Wallpaper Module Loaded ===" "Module path: ${toString __curFile}" @@ -813,13 +812,6 @@ let rsync -av --no-group --no-owner "$SOURCE_DIR/" "$DEST_DIR/" echo "Config files copied from $SOURCE_DIR to $DEST_DIR. Symlinks replaced with editable files." ''; - - # Write the script to a file in the home directory - script_file_path = "${config.home.homeDirectory}/copy-wallpapers_debug.sh"; - _ = builtins.trace (lib.concatStringsSep "\n" [ - "=== Script saved to: ${script_file_path} ===" - "You can inspect it with: cat '${script_file_path}'" - ]); in { options = { wallpaper.enable = lib.mkEnableOption "Wallpaper setup"; @@ -827,8 +819,8 @@ in { config = lib.mkIf config.wallpaper.enable { # Write the script to a file for inspection - home-manager.users.${config.home.username}.home.file."${script_file_path}".text = copy_wallpapers_script; - home-manager.users.${config.home.username}.home.file."${script_file_path}".executable = true; + home-manager.users.${config.home.username}.home.file."~/copy-wallpapers_debug.sh".text = copy_wallpapers_script; + home-manager.users.${config.home.username}.home.file."~/copy-wallpapers_debug.sh".executable = true; # Use a script to copy all files from source to destination home-manager.users.${config.home.username}.home.file."${flakeRoot}/assets/hyprland/scripts/copy-wallpapers.sh".text = copy_wallpapers_script; @@ -846,7 +838,6 @@ in { home-manager.users.${config.home.username}.home.file."${config.home.homeDirectory}/.config/wpaperd/config.toml".text = builtins.readFile wallpaper_conf; }; } - #+END_SRC ** =generated/hyprland/notifications/top.nix= diff --git a/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix b/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix index f6150a4fb..b855d8f86 100644 --- a/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix +++ b/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix @@ -1,6 +1,5 @@ { lib, config, pkgs, flakeRoot, ... }: - builtins.trace (lib.concatStringsSep "\n" [ "=== Wallpaper Module Loaded ===" "Module path: ${toString __curFile}" @@ -31,13 +30,6 @@ let rsync -av --no-group --no-owner "$SOURCE_DIR/" "$DEST_DIR/" echo "Config files copied from $SOURCE_DIR to $DEST_DIR. Symlinks replaced with editable files." ''; - - # Write the script to a file in the home directory - script_file_path = "${config.home.homeDirectory}/copy-wallpapers_debug.sh"; - _ = builtins.trace (lib.concatStringsSep "\n" [ - "=== Script saved to: ${script_file_path} ===" - "You can inspect it with: cat '${script_file_path}'" - ]); in { options = { wallpaper.enable = lib.mkEnableOption "Wallpaper setup"; @@ -45,8 +37,8 @@ in { config = lib.mkIf config.wallpaper.enable { # Write the script to a file for inspection - home-manager.users.${config.home.username}.home.file."${script_file_path}".text = copy_wallpapers_script; - home-manager.users.${config.home.username}.home.file."${script_file_path}".executable = true; + home-manager.users.${config.home.username}.home.file."~/copy-wallpapers_debug.sh".text = copy_wallpapers_script; + home-manager.users.${config.home.username}.home.file."~/copy-wallpapers_debug.sh".executable = true; # Use a script to copy all files from source to destination home-manager.users.${config.home.username}.home.file."${flakeRoot}/assets/hyprland/scripts/copy-wallpapers.sh".text = copy_wallpapers_script;