diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-11-06 10:34:28 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-11-06 10:34:28 +0900 |
| commit | 8f2b0a6d7437e73f777cfad809fb950c0f2c9491 (patch) | |
| tree | f5db42a96637383f3a8116244387db290f44d6c5 /copy.sh | |
| parent | efb6137d6a2e5f91b526341579a216b880286063 (diff) | |
initial boot script to for pywal & wallpaper set
Diffstat (limited to 'copy.sh')
| -rw-r--r-- | copy.sh | 20 |
1 files changed, 2 insertions, 18 deletions
@@ -126,24 +126,8 @@ ln -sf "$HOME/.config/dunst/styles/dunstrc-dark" "$HOME/.config/dunst/dunstrc" & # Set some files as executable chmod +x ~/.config/hypr/scripts/* 2>&1 | tee -a "$LOG" -# Check if the ~/.cache/wal directory exists -if [ ! -d ~/.cache/wal ]; then - printf "${NOTE} Initializing pywal........\n\n" - # Check if the ~/Pictures/wallpapers directory exists - if [ -d ~/Pictures/wallpapers ]; then - # Run wal with random wallpapers from ~/Pictures/wallpapers - wal -i ~/Pictures/wallpapers/* - echo "${OK} Pywal initialized" - else - echo "${ERROR} ~/Pictures/wallpapers directory not found." - echo "${WARN} Please make sure to have wallpapers in ~/Pictures/wallpapers." - fi -else - echo "${OK} ~/.cache/wal directory found. No action required." -fi - -# Initializing the initial wallpaper and wal -~/.config/hypr/scripts/Wallpaper.sh 2>&1 | tee -a "$LOG" +# Set executable for initial-boot.sh +chmod +x ~/.config/hypr/initial-boot.sh 2>&1 | tee -a "$LOG" printf "\n${OK} Copy Completed!\n\n" printf "${NOTE} Highly recommended to logout and re-login\n\n" |
