Browse Source

small tweak on copy.sh

pull/67/head
JaKooLit 2 years ago
parent
commit
4df7b8aa95
  1. 10
      copy.sh

10
copy.sh

@ -168,18 +168,14 @@ cp -r config/* ~/.config/ && { echo "${OK}Copy completed!"; } || { echo "${ERROR
# copying Wallpapers # copying Wallpapers
mkdir -p ~/Pictures/wallpapers mkdir -p ~/Pictures/wallpapers
cp -r wallpapers ~/Pictures/ && { echo "${OK}Copy completed!"; } || { echo "${ERROR} Failed to copy wallpapers."; exit 1; } 2>&1 | tee -a "$LOG" cp -r wallpapers ~/Pictures/ && { echo "${OK}Copy completed!"; } || { echo "${ERROR} Failed to copy wallpapers."; exit 1; } 2>&1 | tee -a "$LOG"
# Set some files as executable # Set some files as executable
chmod +x ~/.config/hypr/scripts/* 2>&1 | tee -a "$LOG" chmod +x ~/.config/hypr/scripts/* 2>&1 | tee -a "$LOG"
# Set executable for initial-boot.sh # Set executable for initial-boot.sh
chmod +x ~/.config/hypr/initial-boot.sh 2>&1 | tee -a "$LOG" chmod +x ~/.config/hypr/initial-boot.sh 2>&1 | tee -a "$LOG"
printf "\n%.0s" {1..3}
#printf "\n\n"
# Additional wallpaper # Additional wallpaper
echo "$(tput setaf 6) By default only a few wallpapers are copied...$(tput sgr0)" 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 read -n1 -rep "${CAT} Would you like to download additional wallpapers? (y/n)" WALL
@ -195,8 +191,6 @@ if [[ $WALL =~ ^[Yy]$ ]]; then
fi fi
fi fi
# Initial Symlinks to avoid errors
# Detect machine type and set Waybar configurations accordingly, logging the output # Detect machine type and set Waybar configurations accordingly, logging the output
if hostnamectl | grep -q 'Chassis: desktop'; then if hostnamectl | grep -q 'Chassis: desktop'; then
# Configurations for a desktop # Configurations for a desktop

Loading…
Cancel
Save