aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-07-22 05:49:22 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:40:35 -0700
commit0a14326757112d9c0bb0fe68ce90e43eb88f2da0 (patch)
tree7b967ad8ee68a3840839c9c4ead0f8a3a384ab45 /copy.sh
parentbc9275368772806db666d0009b16b96e8381e9e3 (diff)
Still fixing copy.sh not overwrite files
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: ../../../copy.sh modified: ../../../scripts/lib_copy.sh
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh17
1 files changed, 1 insertions, 16 deletions
diff --git a/copy.sh b/copy.sh
index f7dafc9e..eb994940 100755
--- a/copy.sh
+++ b/copy.sh
@@ -797,22 +797,7 @@ rm -rf "${XDG_CONFIG_HOME:-$HOME/.config}/waybar/configs/[TOP] Default$config_re
printf "\n%.0s" {1..1}
-# for SDDM (simple_sddm_2)
-sddm_theme_conf_file="$(detect_sddm_theme_config_file 2>/dev/null || true)"
-sddm_current_theme=""
-if [ -n "$sddm_theme_conf_file" ]; then
- sddm_current_theme="$(detect_sddm_current_theme "$sddm_theme_conf_file" 2>/dev/null || true)"
-fi
-sddm_simple_sddm_2="/usr/share/sddm/themes/simple_sddm_2"
-if [ "$sddm_current_theme" = "simple_sddm_2" ] && [ -d "$sddm_simple_sddm_2" ] && [ -f "$wallpaper" ]; then
- # Apply the runtime wallpaper as SDDM background without prompting
- sudo -n cp -f "$wallpaper" "$sddm_simple_sddm_2/Backgrounds/default" || true
- echo "${NOTE} Current wallpaper applied as default SDDM background" 2>&1 | tee -a "$LOG"
-else
- if [ -n "$sddm_current_theme" ] && [ "$sddm_current_theme" != "simple_sddm_2" ]; then
- echo "${NOTE} Skipping SDDM default background copy (active theme: $sddm_current_theme)." 2>&1 | tee -a "$LOG"
- fi
-fi
+# SDDM background auto-sync removed to avoid overriding user-selected themes/wallpapers.
# additional wallpapers
printf "\n%.0s" {1..1}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage