aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/hypr/initial-boot.sh8
-rwxr-xr-xcopy.sh5
2 files changed, 8 insertions, 5 deletions
diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh
index 43856e04..4d62775d 100755
--- a/config/hypr/initial-boot.sh
+++ b/config/hypr/initial-boot.sh
@@ -53,10 +53,10 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then
"$scriptsDir/SwitchKeyboardLayout.sh" > /dev/null 2>&1 &
# waybar style
- if [ -L "$HOME/.config/waybar/config" ]; then
- ln -sf "$waybar_style" "$HOME/.config/waybar/style.css"
- "$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
- fi
+ #if [ -L "$HOME/.config/waybar/config" ]; then
+ ## ln -sf "$waybar_style" "$HOME/.config/waybar/style.css"
+ # "$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
+ #fi
# Create a marker file to indicate that the script has been executed.
diff --git a/copy.sh b/copy.sh
index ddac1208..3e93e2da 100755
--- a/copy.sh
+++ b/copy.sh
@@ -497,7 +497,10 @@ for DIR2 in $DIRS; do
cp -L "$DIRPATH-backup-$BACKUP_DIR/config" "$HOME/.config/waybar/config" || true
cp -L "$DIRPATH-backup-$BACKUP_DIR/style.css" "$HOME/.config/waybar/style.css" || true
- echo -e "${OK} - waybar config and style restored automatically" 2>&1 | tee -a "$LOG"
+ find "$DIRPATH-backup-$BACKUP_DIR/configs" -type f -exec cp -n "{}" "$HOME/.config/waybar/configs/" \;
+ find "$DIRPATH-backup-$BACKUP_DIR/style" -type f -exec cp -n "{}" "$HOME/.config/waybar/style/" \;
+
+ echo -e "${OK} - waybar configs and styles restored automatically" 2>&1 | tee -a "$LOG"
fi
break
;;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage