diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-11-25 18:57:40 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-25 18:57:40 +0900 |
| commit | 823ce273e69e716be814473430d0cfa5cb714b7d (patch) | |
| tree | 70878cbe3027d9da452658a8644e33d83c1b3ea2 /copy.sh | |
| parent | fbf04572b4ed8867da3c96551b25261401364be0 (diff) | |
| parent | 19f025c2dc27da54127ae302482398be61b55ebe (diff) | |
Merge pull request #34 from JaKooLit/v2.1.9
V2.1.9
Diffstat (limited to 'copy.sh')
| -rwxr-xr-x | copy.sh | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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" |
