diff options
Diffstat (limited to 'copy.sh')
| -rwxr-xr-x | copy.sh | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -175,8 +175,8 @@ cp -r wallpapers ~/Pictures/ && { echo "${OK}Copy completed!"; } || { echo "${ER # Initial Symlinks to avoid errors # symlinks for waybar -ln -sf "$HOME/.config/waybar/configs/Simple-L [TOP]" "$HOME/.config/waybar/config" && \ -ln -sf "$HOME/.config/waybar/style/Chroma Tally.css" "$HOME/.config/waybar/style.css" && \ +ln -sf "$HOME/.config/waybar/configs/Default [TOP]" "$HOME/.config/waybar/config" && \ +ln -sf "$HOME/.config/waybar/style/Golden Noir.css" "$HOME/.config/waybar/style.css" && \ # Set some files as executable @@ -185,13 +185,30 @@ chmod +x ~/.config/hypr/scripts/* 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\n" +# adding user to input group printf " adding user to input group...\n" sudo gpasswd -a $(whoami) input 2>&1 | tee -a "$LOG" -# initialize pywal to avoid config error on hyprland -wal -i ~/Pictures/wallpapers/mecha-nostalgia.png 2>&1 | tee -a "$LOG" +printf "\n\n" +# Additional wallpaper +echo "$(tput setaf 6) By default only a few wallpapers are copied...$(tput sgr0)" +read -n1 -rep "${CAT} Would you like to download additional wallpapers? (y/n)" WALL +sleep 1 +if [[ $WALL =~ ^[Yy]$ ]]; then + printf "${NOTE} Downloading additional wallpapers...\n" + if git clone https://github.com/JaKooLit/Wallpaper-Bank.git 2>&1 | tee -a "$LOG"; then + cp -R Wallpaper-Bank/wallpapers/* ~/Pictures/wallpapers/ + rm -rf Wallpaper-Bank # Remove cloned repository after copying wallpapers + else + echo "${ERROR} Downloading additional wallpapers failed" 2>&1 | tee -a "$LOG" + fi +fi +# initialize pywal to avoid config error on hyprland +wal -i ~/Pictures/wallpapers/mecha-nostalgia.png 2>&1 | tee -a "$LOG" +printf "\n\n" printf "\n${OK} Copy Completed!\n\n\n" printf "${ORANGE} ATTENTION!!!! \n" printf "${ORANGE} YOU NEED to logout and re-login or reboot to avoid issues\n\n" |
