add yay
This commit is contained in:
		
							parent
							
								
									563abe2ccd
								
							
						
					
					
						commit
						ecd3ca043b
					
				
					 4 changed files with 28 additions and 13 deletions
				
			
		|  | @ -6,6 +6,7 @@ set -e | |||
| # URL | ||||
|   TWEAK_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/tweak.sh" | ||||
|   YARU_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/yaru.sh" | ||||
|   YAY_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/yay.sh" | ||||
|   GNOME_URL="https://git.rp1.hu/gabeszm/Linux_scriptek/raw/branch/main/gnome.sh" | ||||
| 
 | ||||
| # Adjuk hozzá az aktuális felhasználót a sudoers fájlhoz, hogy jelszó nélkül használhassa a sudo-t | ||||
|  | @ -85,6 +86,21 @@ fi | |||
| 
 | ||||
| # Választott DE kódok futtatása | ||||
| if [ "$de_choice" == "1" ]; then | ||||
| 
 | ||||
|   # Letöltjük a szkriptet | ||||
|   echo "Yay telepítése..." | ||||
|   curl -Ls "$YAY_URL" -o yay.sh | ||||
|   # Ellenőrizzük, hogy sikerült-e letölteni | ||||
|   if [ -f "yay.sh" ]; then | ||||
|     echo "A YaY telepítő szkript sikeresen letöltve. Futtatás..." | ||||
|     sudo chmod +x yay.sh | ||||
|     bash -x yay.sh | tee yay.log | ||||
|   else | ||||
|     echo "Nem sikerült letölteni a Yaru telepítő szkriptet." | ||||
|     exit 1 | ||||
|   fi | ||||
| 
 | ||||
| 
 | ||||
|   echo "GNOME telepítése..." | ||||
|   # Letöltjük a szkriptet | ||||
|   curl -Ls "$GNOME_URL" -o gnome.sh | ||||
|  |  | |||
							
								
								
									
										6
									
								
								gnome.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								gnome.sh
									
									
									
									
									
								
							|  | @ -17,11 +17,9 @@ gsettings set org.gnome.desktop.sound theme-name 'Yaru' | |||
| gsettings set org.gnome.desktop.screensaver lock-enabled false | ||||
| gsettings set org.gnome.desktop.session idle-delay 0 | ||||
| gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" | ||||
| echo "Sudo jogosultság eltávolítása..." | ||||
| sudo deluser $USER sudo | ||||
| 
 | ||||
| yay -S gdm-tools --noconfirm --sudoloop --save | ||||
| echo "Sudo jogosultság visszaállítása..." | ||||
| sudo usermod -aG sudo $USER | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| # Cosmetics letöltése és alkalmazása | ||||
|  |  | |||
							
								
								
									
										9
									
								
								yaru.sh
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								yaru.sh
									
									
									
									
									
								
							|  | @ -1,14 +1,5 @@ | |||
| #!/bin/bash | ||||
| 
 | ||||
| # Yay telepítése | ||||
| echo "Yay telepítése..." | ||||
| git clone https://aur.archlinux.org/yay-bin.git | ||||
| cd yay-bin | ||||
| makepkg -si --noconfirm | ||||
| cd .. | ||||
| rm -rf yay-bin | ||||
| echo "Yay telepítése befejeződött." | ||||
| 
 | ||||
| # Yaru téma telepítése | ||||
| echo "Yaru téma telepítése..." | ||||
| git clone https://aur.archlinux.org/yaru.git | ||||
|  |  | |||
							
								
								
									
										10
									
								
								yay.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								yay.sh
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| #!/bin/bash | ||||
| 
 | ||||
| # Yay telepítése | ||||
| echo "Yay telepítése..." | ||||
| git clone https://aur.archlinux.org/yay-bin.git | ||||
| cd yay-bin | ||||
| makepkg -si --noconfirm | ||||
| cd .. | ||||
| rm -rf yay-bin | ||||
| echo "Yay telepítése befejeződött." | ||||
		Loading…
	
		Reference in a new issue