aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-25 18:47:46 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-25 18:49:18 +0900
commit87fc8f08dfa28a0e9bc801f1356bf2ad1737e5c3 (patch)
treefe0f5f8cb77534a43cb99e90ed3b55f176697eab /copy.sh
parent510dd8b0de9223ec853969f13bed753994fe7ca0 (diff)
Added Modules_Extra in waybar for users own custom waybar modules
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/copy.sh b/copy.sh
index 456f9821..3ec9dbfc 100755
--- a/copy.sh
+++ b/copy.sh
@@ -595,6 +595,12 @@ if [ -d "$DIRPATHw" ]; then
fi
done || true
+ # Step 4: restore Modules_Extras
+ BACKUP_FILE="$DIRPATHw-backup-$BACKUP_DIR/Modules_Extras"
+ if [ -f "$BACKUP_FILE" ]; then
+ cp -f "$BACKUP_FILE" "$DIRPATHw/Modules_Extras"
+ fi
+
break
;;
[Nn]* )
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage