diff options
| -rwxr-xr-x | config/hypr/initial-boot.sh | 8 | ||||
| -rwxr-xr-x | copy.sh | 5 |
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. @@ -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 ;; |
