From 27da2811dc9c2dad97c1db99cc15d71cace8f478 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Tue, 17 Mar 2026 17:22:46 +0000 Subject: [PATCH] new wallpaperthingie --- Droidnix/README.org | 16 +--------------- .../hyprland/decorations/rotating_wallpaper.nix | 16 +--------------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/Droidnix/README.org b/Droidnix/README.org index 007e35213..5f688c25c 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -791,21 +791,7 @@ let # Define the script in the let block copy_wallpapers_script = '' - #!${pkgs.bash}/bin/bash - set -euo pipefail - # Source and destination directories - SOURCE_DIR="${source_path}" - DEST_DIR="${destination_path}" - # Check if source directory exists - if [ ! -d "$SOURCE_DIR" ]; then - echo "Error: Source directory $SOURCE_DIR does not exist." - exit 1 - fi - # Create destination directory if it doesn't exist - mkdir -p "$DEST_DIR" - # Use rsync to copy files, overwriting symlinks and existing files - 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." + Echo "hoi" ''; # Print the script contents during the build diff --git a/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix b/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix index 05e3dc8b5..3617ca4a3 100644 --- a/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix +++ b/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix @@ -9,21 +9,7 @@ let # Define the script in the let block copy_wallpapers_script = '' - #!${pkgs.bash}/bin/bash - set -euo pipefail - # Source and destination directories - SOURCE_DIR="${source_path}" - DEST_DIR="${destination_path}" - # Check if source directory exists - if [ ! -d "$SOURCE_DIR" ]; then - echo "Error: Source directory $SOURCE_DIR does not exist." - exit 1 - fi - # Create destination directory if it doesn't exist - mkdir -p "$DEST_DIR" - # Use rsync to copy files, overwriting symlinks and existing files - 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." + Echo "hoi" ''; # Print the script contents during the build