aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-11-25 18:57:40 +0900
committerGitHub <noreply@github.com>2023-11-25 18:57:40 +0900
commit823ce273e69e716be814473430d0cfa5cb714b7d (patch)
tree70878cbe3027d9da452658a8644e33d83c1b3ea2 /copy.sh
parentfbf04572b4ed8867da3c96551b25261401364be0 (diff)
parent19f025c2dc27da54127ae302482398be61b55ebe (diff)
Merge pull request #34 from JaKooLit/v2.1.9
V2.1.9
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/copy.sh b/copy.sh
index 55803569..5dc02ef0 100755
--- a/copy.sh
+++ b/copy.sh
@@ -8,6 +8,16 @@ if [[ $EUID -eq 0 ]]; then
exit 1
fi
+echo "
+
+ ██╗ █████╗ ██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗████████╗ ██████╗ ██████╗ ████████╗███████╗
+ ██║██╔══██╗ ██║ ██╔╝██╔═══██╗██╔═══██╗██║ ██║╚══██╔══╝ ██╔══██╗██╔═══██╗╚══██╔══╝██╔════╝
+ ██║███████║ █████╔╝ ██║ ██║██║ ██║██║ ██║ ██║ █████╗██║ ██║██║ ██║ ██║ ███████╗
+██ ██║██╔══██║ ██╔═██╗ ██║ ██║██║ ██║██║ ██║ ██║ ╚════╝██║ ██║██║ ██║ ██║ ╚════██║
+╚█████╔╝██║ ██║██╗██║ ██╗╚██████╔╝╚██████╔╝███████╗██║ ██║ ██████╔╝╚██████╔╝ ██║ ███████║
+ ╚════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚══════╝
+
+"
# Set some colors for output messages
OK="$(tput setaf 2)[OK]$(tput sgr0)"
ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)"
@@ -149,6 +159,9 @@ printf "${NOTE} - copying dotfiles\n"
fi
done
+# update home folders
+xdg-user-dirs-update
+
# Copying config files
printf " Copying config files...\n"
mkdir -p ~/.config
@@ -172,6 +185,9 @@ 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 " adding user to input group...\n"
+sudo gpasswd -a $(whoami) input 2>&1 | tee -a "$LOG"
+
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"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage