Advertisement
hyperiontitan

installextras

May 10th, 2024
619
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 43.63 KB | Source Code | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4. steaminstall () {
  5.  
  6. if (lspci | grep VGA | grep "NVIDIA\|nVidia" &>/dev/null); then
  7.  
  8. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S steam --noeditmenu --noconfirm --needed"
  9. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-swrast --noeditmenu --noconfirm --needed"
  10. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-icd-loader --noeditmenu --noconfirm --needed"
  11.  
  12. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  13. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  14.  
  15. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-dejavu --noeditmenu --noconfirm --needed"
  16. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-liberation --noeditmenu --noconfirm --needed"
  17. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-bitstream-vera --noeditmenu --noconfirm --needed"
  18. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-droid --noeditmenu --noconfirm --needed"
  19. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnu-free-fonts --noeditmenu --noconfirm --needed"
  20. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S noto-fonts --noeditmenu --noconfirm --needed"
  21. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-croscore --noeditmenu --noconfirm --needed"
  22. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-ibm-plex --noeditmenu --noconfirm --needed"
  23.  
  24.  
  25. elif (lspci | grep VGA | grep "Radeon R\|R2/R3/R4/R5" &>/dev/null); then
  26.  
  27. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-radeon --noeditmenu --noconfirm --needed"
  28. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S steam --noeditmenu --noconfirm --needed"
  29. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-icd-loader --noeditmenu --noconfirm --needed"
  30.  
  31. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  32. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  33.  
  34. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-dejavu --noeditmenu --noconfirm --needed"
  35. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-liberation --noeditmenu --noconfirm --needed"
  36. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-bitstream-vera --noeditmenu --noconfirm --needed"
  37. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-droid --noeditmenu --noconfirm --needed"
  38. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnu-free-fonts --noeditmenu --noconfirm --needed"
  39. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S noto-fonts --noeditmenu --noconfirm --needed"
  40. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-croscore --noeditmenu --noconfirm --needed"
  41. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-ibm-plex --noeditmenu --noconfirm --needed"
  42.  
  43.  
  44. elif (lspci | grep VGA | grep "ATI\|AMD/ATI" &>/dev/null); then
  45.  
  46. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S amdvlk --noeditmenu --noconfirm --needed"
  47. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S steam --noeditmenu --noconfirm --needed"
  48. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-icd-loader --noeditmenu --noconfirm --needed"
  49.  
  50. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  51. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  52.  
  53. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-dejavu --noeditmenu --noconfirm --needed"
  54. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-liberation --noeditmenu --noconfirm --needed"
  55. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-bitstream-vera --noeditmenu --noconfirm --needed"
  56. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-droid --noeditmenu --noconfirm --needed"
  57. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnu-free-fonts --noeditmenu --noconfirm --needed"
  58. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S noto-fonts --noeditmenu --noconfirm --needed"
  59. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-croscore --noeditmenu --noconfirm --needed"
  60. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-ibm-plex --noeditmenu --noconfirm --needed"
  61.  
  62.  
  63. elif (lspci | grep VGA | grep "Intel" &>/dev/null); then
  64.  
  65. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-intel --noeditmenu --noconfirm --needed"
  66. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S steam --noeditmenu --noconfirm --needed"
  67. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-icd-loader --noeditmenu --noconfirm --needed"
  68.  
  69. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  70. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  71.  
  72. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-dejavu --noeditmenu --noconfirm --needed"
  73. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-liberation --noeditmenu --noconfirm --needed"
  74. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-bitstream-vera --noeditmenu --noconfirm --needed"
  75. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-droid --noeditmenu --noconfirm --needed"
  76. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnu-free-fonts --noeditmenu --noconfirm --needed"
  77. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S noto-fonts --noeditmenu --noconfirm --needed"
  78. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-croscore --noeditmenu --noconfirm --needed"
  79. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-ibm-plex --noeditmenu --noconfirm --needed"
  80.  
  81.  
  82. else
  83.  
  84. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S steam --noeditmenu --noconfirm --needed"
  85. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-swrast --noeditmenu --noconfirm --needed"
  86. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-icd-loader --noeditmenu --noconfirm --needed"
  87.  
  88. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  89. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libglvnd --noeditmenu --noconfirm --needed"
  90.  
  91. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-dejavu --noeditmenu --noconfirm --needed"
  92. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-liberation --noeditmenu --noconfirm --needed"
  93. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-bitstream-vera --noeditmenu --noconfirm --needed"
  94. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-droid --noeditmenu --noconfirm --needed"
  95. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnu-free-fonts --noeditmenu --noconfirm --needed"
  96. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S noto-fonts --noeditmenu --noconfirm --needed"
  97. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-croscore --noeditmenu --noconfirm --needed"
  98. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-ibm-plex --noeditmenu --noconfirm --needed"
  99. fi
  100.  
  101.  
  102. }
  103.  
  104. extrasinstall () {
  105.  
  106. # INICIO DE UTILIDADES
  107.  
  108. if [ "$UTIL1" == "true" ]; then
  109. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S android-file-transfer --noconfirm"
  110. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S android-tools --noconfirm"
  111. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S android-udev --noconfirm"
  112. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S msmtp --noconfirm"
  113. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libmtp --noconfirm"
  114. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libcddb --noconfirm"
  115. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gvfs --noconfirm"
  116. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gvfs-afc --noconfirm"
  117. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gvfs-smb --noconfirm"
  118. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gvfs-gphoto2 --noconfirm"
  119. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gvfs-mtp --noconfirm"
  120. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gvfs-goa --noconfirm"
  121. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gvfs-nfs --noconfirm"
  122. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gvfs-google --noconfirm"
  123. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-libav --noconfirm"
  124. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S dosfstools --noconfirm"
  125. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S f2fs-tools --noconfirm"
  126. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ntfs-3g --noconfirm"
  127. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S udftools --noconfirm"
  128. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S nilfs-utils --noconfirm"
  129. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S polkit --noconfirm"
  130. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gpart --noconfirm"
  131. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S mtools --noconfirm"
  132. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S cifs-utils --noconfirm"
  133. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S jfsutils --noconfirm"
  134. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S btrfs-progs --noconfirm"
  135. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S xfsprogs --noconfirm"
  136. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S reiserfsprogs --noconfirm"
  137. fi
  138.  
  139.  
  140. if [ "$UTIL2" == "true" ]; then
  141. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S xarchiver --noconfirm"
  142. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S unarchiver --noconfirm"
  143. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S binutils --noconfirm"
  144. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gzip --noconfirm"
  145. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lha --noconfirm"
  146. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lrzip --noconfirm"
  147. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lzip --noconfirm"
  148. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lz4 --noconfirm"
  149. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S p7zip --noconfirm"
  150. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S tar --noconfirm"
  151. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S xz --noconfirm"
  152. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S bzip2 --noconfirm"
  153. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S p7zip --noconfirm"
  154. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lbzip2 --noconfirm"
  155. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S arj --noconfirm"
  156. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lzop --noconfirm"
  157. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S cpio --noconfirm"
  158. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S unrar --noconfirm"
  159. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S unzip --noconfirm"
  160. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S zstd --noconfirm"
  161. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S zip --noconfirm"
  162. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lzip --noconfirm"
  163. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S unarj --noconfirm"
  164. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S zstd --noconfirm"
  165. fi
  166.  
  167.  
  168. if [ "$UTIL3" == "true" ]; then
  169. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ffmpeg --noconfirm"
  170. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S aom --noconfirm"
  171. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libde265 --noconfirm"
  172. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S x265 --noconfirm"
  173. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S x264 --noconfirm"
  174. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libmpeg2 --noconfirm"
  175. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S xvidcore --noconfirm"
  176. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libtheora --noconfirm"
  177. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libvpx --noconfirm"
  178. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S schroedinger --noconfirm"
  179. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S sdl --noconfirm"
  180. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gstreamer --noconfirm"
  181. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-plugins-bad --noconfirm"
  182. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-plugins-base --noconfirm"
  183. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-plugins-base-libs --noconfirm"
  184. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-plugins-good --noconfirm"
  185. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-plugins-ugly --noconfirm"
  186. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S xine-lib --noconfirm"
  187. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libdvdcss --noconfirm"
  188. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libdvdread --noconfirm"
  189. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S dvd+rw-tools --noconfirm"
  190. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lame --noconfirm"
  191. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S jasper --noconfirm"
  192. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libmng --noconfirm"
  193. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libraw --noconfirm"
  194. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libkdcraw --noconfirm"
  195. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vcdimager --noconfirm"
  196. fi
  197.  
  198.  
  199. if [ "$UTIL4" == "true" ]; then
  200. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gufw --noconfirm"
  201. fi
  202.  
  203.  
  204. if [ "$UTIL5" == "true" ]; then
  205. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hardinfo --noconfirm"
  206. fi
  207.  
  208.  
  209. if [ "$UTIL6" == "true" ]; then
  210. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnome-disk-utility --noconfirm"
  211. fi
  212.  
  213.  
  214. if [ "$UTIL7" == "true" ]; then
  215. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gparted --noconfirm"
  216. fi
  217.  
  218.  
  219. if [ "$UTIL8" == "true" ]; then
  220. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S yt-dlp --noeditmenu --noconfirm --needed"
  221. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ffmpeg --noeditmenu --noconfirm --needed"
  222. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S rtmpdump atomicparsley aria2 --noeditmenu --noconfirm --needed"
  223. fi
  224.  
  225.  
  226. if [ "$UTIL9" == "true" ]; then
  227. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S viewnior --noeditmenu --noconfirm --needed"
  228. fi
  229.  
  230.  
  231. if [ "$UTIL10" == "true" ]; then
  232. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gedit --noeditmenu --noconfirm --needed"
  233. fi
  234.  
  235.  
  236. if [ "$UTIL11" == "true" ]; then
  237. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S flatpak --noeditmenu --noconfirm --needed"
  238. fi
  239.  
  240.  
  241. if [ "$UTIL12" == "true" ]; then
  242. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S virt-manager --noeditmenu --noconfirm --needed"
  243. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S qemu --noeditmenu --noconfirm --needed"
  244. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S qemu-arch-extra --noeditmenu --noconfirm --needed"
  245. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S edk2-ovmf --noeditmenu --noconfirm --needed"
  246. fi
  247.  
  248.  
  249. if [ "$UTIL13" == "true" ]; then
  250. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S virtualbox --noeditmenu --noconfirm --needed"
  251. fi
  252.  
  253.  
  254. # FIN DE UTILIDADES
  255.  
  256.  
  257.  
  258.  
  259.  
  260. if [ "$TERMI1" == "true" ]; then
  261. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lxterminal --noconfirm"
  262. fi
  263.  
  264.  
  265. if [ "$TERMI2" == "true" ]; then
  266. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S tilix --noconfirm"
  267. fi
  268.  
  269.  
  270. if [ "$TERMI3" == "true" ]; then
  271. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S xfce4-terminal --noconfirm"
  272. fi
  273.  
  274.  
  275. if [ "$TERMI4" == "true" ]; then
  276. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S deepin-terminal --noconfirm"
  277. fi
  278.  
  279.  
  280. if [ "$TERMI5" == "true" ]; then
  281. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S mate-terminal --noconfirm"
  282. fi
  283.  
  284.  
  285. if [ "$TERMI6" == "true" ]; then
  286. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S terminator --noconfirm"
  287. fi
  288.  
  289.  
  290. if [ "$TERMI7" == "true" ]; then
  291. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S st --noeditmenu --noconfirm --needed"
  292. fi
  293.  
  294.  
  295. if [ "$TERMI8" == "true" ]; then
  296. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alacritty --noconfirm"
  297. fi
  298.  
  299.  
  300. if [ "$TERMI9" == "true" ]; then
  301. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S kitty --noconfirm"
  302. fi
  303.  
  304.  
  305.  
  306.  
  307.  
  308. if [ "$AUDIO1" == "true" ]; then
  309. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pipewire --noeditmenu --noconfirm --needed"
  310. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pipewire-alsa --noeditmenu --noconfirm --needed"
  311. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pipewire-pulse --noeditmenu --noconfirm --needed"
  312. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pipewire-jack --noeditmenu --noconfirm --needed"
  313. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-plugin-pipewire --noeditmenu --noconfirm --needed"
  314. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pipewire-media-session --noeditmenu --noconfirm --needed"
  315. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pipewire-zeroconf --noeditmenu --noconfirm --needed"
  316. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pipewire-jack-dropin --noeditmenu --noconfirm --needed"
  317. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-pipewire --noeditmenu --noconfirm --needed"
  318. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-pipewire-jack --noeditmenu --noconfirm --needed"
  319. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S helvum --noeditmenu --noconfirm --needed"
  320. arch-chroot /mnt /bin/bash -c "sudo -u $username systemctl start --user pipewire-pulse.service"
  321. arch-chroot /mnt /bin/bash -c "systemctl start pipewire-pulse.service"
  322. arch-chroot /mnt /bin/bash -c "systemctl start pipewire.service"
  323. arch-chroot /mnt /bin/bash -c "systemctl start pipewire-media-session.service"
  324. arch-chroot /mnt /bin/bash -c "systemctl start pipewire.service"
  325. arch-chroot /mnt /bin/bash -c "systemctl start pipewire-media-session.service"
  326.  
  327. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S wireplumber --noeditmenu --noconfirm --needed"
  328.  
  329. arch-chroot /mnt /bin/bash -c "systemctl disable pipewire-media-session"
  330. arch-chroot /mnt /bin/bash -c "systemctl start --user wireplumber.service"
  331. arch-chroot /mnt /bin/bash -c "systemctl start wireplumber.service"
  332. arch-chroot /mnt /bin/bash -c "pactl info"
  333. fi
  334.  
  335.  
  336.  
  337. if [ "$AUDIO2" == "true" ]; then
  338. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pulseaudio --noeditmenu --noconfirm --needed"
  339. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pulseaudio-alsa --noeditmenu --noconfirm --needed"
  340. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pavucontrol --noeditmenu --noconfirm --needed"
  341. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pamixer --noeditmenu --noconfirm --needed"
  342. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libcanberra-pulse --noeditmenu --noconfirm --needed"
  343. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libcanberra-gstreamer --noeditmenu --noconfirm --needed"
  344. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-alsa-plugins --noeditmenu --noconfirm --needed"
  345. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libpulse --noeditmenu --noconfirm --needed"
  346. fi
  347.  
  348.  
  349.  
  350. if [ "$AUDIO3" == "true" ]; then
  351. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S realtime-privileges --noconfirm"
  352. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S jack2 --noconfirm"
  353. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-jack2 --noconfirm"
  354. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S a2jmidid --noconfirm"
  355. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libffado --noconfirm"
  356. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S python-dbus --noconfirm"
  357. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S waf --noconfirm"
  358. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pro-audio --noconfirm"
  359. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lv2-plugins --noconfirm"
  360. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ladspa-plugins --noconfirm"
  361. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S dssi-plugins --noconfirm"
  362. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vst-plugins --noconfirm"
  363. fi
  364.  
  365.  
  366.  
  367. if [ "$AUDIO4" == "true" ]; then
  368. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alsa-utils --noeditmenu --noconfirm --needed"
  369. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alsa-plugins --noeditmenu --noconfirm --needed"
  370. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alsa-oss --noeditmenu --noconfirm --needed"
  371. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alsa-firmware --noeditmenu --noconfirm --needed"
  372. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pamixer --noeditmenu --noconfirm --needed"
  373. fi
  374.  
  375.  
  376.  
  377.  
  378.  
  379. if [ "$REPRO1" == "true" ]; then
  380. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vlc --noeditmenu --noconfirm --needed"
  381. fi
  382.  
  383. if [ "$REPRO2" == "true" ]; then
  384. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S mpv --noeditmenu --noconfirm --needed"
  385. fi
  386.  
  387. if [ "$REPRO3" == "true" ]; then
  388. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S nuclear-player-bin --noeditmenu --noconfirm --needed"
  389. fi
  390.  
  391. if [ "$REPRO4" == "true" ]; then
  392. clear
  393. printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' "_"
  394. echo -e ""
  395. echo -e "\t\t\t         Actualizando Keys de Spotify          "
  396. printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' _
  397. echo -e ""
  398. arch-chroot /mnt /bin/bash -c "gpg --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90"
  399. arch-chroot /mnt /bin/bash -c "gpg --recv-keys 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45"
  400. sleep 10
  401.  
  402. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S spotify --noeditmenu --noconfirm --needed"
  403. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S spotify-adblock-git --noeditmenu --noconfirm --needed"
  404.  
  405. fi
  406.  
  407. if [ "$REPRO5" == "true" ]; then
  408. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S audacious --noeditmenu --noconfirm --needed"
  409. fi
  410.  
  411.  
  412. if [ "$REPRO6" == "true" ]; then
  413. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S moc --noeditmenu --noconfirm --needed"
  414. fi
  415.  
  416.  
  417. if [ "$REPRO7" == "true" ]; then
  418. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S cmus --noeditmenu --noconfirm --needed"
  419. fi
  420.  
  421.  
  422.  
  423.  
  424. if [ "$WEB1" == "true" ]; then
  425. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S firefox --noeditmenu --noconfirm --needed"
  426. fi
  427.  
  428. if [ "$WEB2" == "true" ]; then
  429. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S chromium --noeditmenu --noconfirm --needed"
  430. fi
  431.  
  432. if [ "$WEB3" == "true" ]; then
  433. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S midori --noeditmenu --noconfirm --needed"
  434. fi
  435.  
  436. if [ "$WEB4" == "true" ]; then
  437. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S brave-bin --noeditmenu --noconfirm --needed"
  438. fi
  439.  
  440. if [ "$WEB5" == "true" ]; then
  441. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S google-chrome --noeditmenu --noconfirm --needed"
  442. fi
  443.  
  444. if [ "$WEB6" == "true" ]; then
  445. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S opera --noeditmenu --noconfirm --needed"
  446. fi
  447.  
  448. if [ "$WEB7" == "true" ]; then
  449. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vivaldi --noeditmenu --noconfirm --needed"
  450. fi
  451.  
  452.  
  453. if [ "$WEB8" == "true" ]; then
  454. printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' "_"
  455. echo -e ""
  456. echo -e "\t\t\t         Actualizando Keys para Tor browser          "
  457. printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' _
  458. echo -e ""
  459. arch-chroot /mnt /bin/bash -c "gpg --recv-keys EF6E286DDA85EA2A4BA7DE684E2C6E8793298290"
  460. echo ""
  461.  
  462. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S tor-browser --noeditmenu --noconfirm --needed"
  463. fi
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472. if [ "$OFFICE1" == "true" ]; then
  473. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libreoffice-fresh --noeditmenu --noconfirm --needed"
  474. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libreoffice-fresh-es --noeditmenu --noconfirm --needed"
  475. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell --noeditmenu --noconfirm --needed"
  476. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell-es_es --noeditmenu --noconfirm --needed"
  477. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell-es_any --noeditmenu --noconfirm --needed"
  478. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hyphen --noeditmenu --noconfirm --needed"
  479. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hyphen-es --noeditmenu --noconfirm --needed"
  480. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S mythes-es --noeditmenu --noconfirm --needed"
  481. fi
  482.  
  483. if [ "$OFFICE2" == "true" ]; then
  484. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S wps-office --noeditmenu --noconfirm --needed"
  485. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ttf-wps-fonts --noeditmenu --noconfirm --needed"
  486. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell --noeditmenu --noconfirm --needed"
  487. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell-es_es --noeditmenu --noconfirm --needed"
  488. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell-es_any --noeditmenu --noconfirm --needed"
  489. fi
  490.  
  491. if [ "$OFFICE3" == "true" ]; then
  492. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S freeoffice --noeditmenu --noconfirm --needed"
  493. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell --noeditmenu --noconfirm --needed"
  494. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell-es_es --noeditmenu --noconfirm --needed"
  495. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hunspell-es_any --noeditmenu --noconfirm --needed"
  496. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hyphen --noeditmenu --noconfirm --needed"
  497. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S hyphen-es --noeditmenu --noconfirm --needed"
  498. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S mythes-es --noeditmenu --noconfirm --needed"
  499. fi
  500.  
  501.  
  502.  
  503.  
  504. if [ "$AP1" == "true" ]; then
  505. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnome-system-monitor --noeditmenu --noconfirm --needed"
  506. fi
  507.  
  508. if [ "$AP2" == "true" ]; then
  509. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S htop --noeditmenu --noconfirm --needed"
  510. fi
  511.  
  512. if [ "$AP3" == "true" ]; then
  513. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S bashtop --noeditmenu --noconfirm --needed"
  514. fi
  515.  
  516. if [ "$AP4" == "true" ]; then
  517. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gtop --noeditmenu --noconfirm --needed"
  518. fi
  519.  
  520. if [ "$AP5" == "true" ]; then
  521. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gotop --noeditmenu --noconfirm --needed"
  522. fi
  523.  
  524.  
  525.  
  526.  
  527. if [ "$RS1" == "true" ]; then
  528. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S telegram-desktop --noeditmenu --noconfirm --needed"
  529. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S aspell-es --noeditmenu --noconfirm --needed"
  530. fi
  531.  
  532. if [ "$RS2" == "true" ]; then
  533. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S igdm-bin --noeditmenu --noconfirm --needed"
  534. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S aspell-es --noeditmenu --noconfirm --needed"
  535. fi
  536.  
  537. if [ "$RS3" == "true" ]; then
  538. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S whatsapp-nativefier-dark --noeditmenu --noconfirm --needed"
  539. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S aspell-es --noeditmenu --noconfirm --needed"
  540. fi
  541.  
  542. if [ "$RS4" == "true" ]; then
  543. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S caprine --noeditmenu --noconfirm --needed"
  544. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S aspell-es --noeditmenu --noconfirm --needed"
  545. fi
  546.  
  547. if [ "$RS5" == "true" ]; then
  548. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S netflix-qdesktop --noeditmenu --noconfirm --needed"
  549. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S aspell-es --noeditmenu --noconfirm --needed"
  550. fi
  551.  
  552. if [ "$RS6" == "true" ]; then
  553. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S skypeforlinux-preview-bin --noeditmenu --noconfirm --needed"
  554. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S aspell-es --noeditmenu --noconfirm --needed"
  555. fi
  556.  
  557.  
  558.  
  559. if [ "$AUR1" == "true" ]; then
  560. #arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S yay-bin --noeditmenu --noconfirm --needed"
  561. arch-chroot /mnt /bin/bash -c "pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.g && cd yay && sudo -u $username makepkg -si  --noeditmenu --noconfirm --needed"
  562. fi
  563.  
  564. if [ "$AUR2" == "true" ]; then
  565. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S trizen --noeditmenu --noconfirm --needed"
  566. fi
  567.  
  568. if [ "$AUR3" == "true" ]; then
  569. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pikaur --noeditmenu --noconfirm --needed"
  570. fi
  571.  
  572. if [ "$AUR4" == "true" ]; then
  573. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S aurman --noeditmenu --noconfirm --needed"
  574. fi
  575.  
  576. if [ "$AUR5" == "true" ]; then
  577. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pakku --noeditmenu --noconfirm --needed"
  578. fi
  579.  
  580. if [ "$AUR6" == "true" ]; then
  581. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pamac-aur --noeditmenu --noconfirm --needed"
  582. arch-chroot /mnt /bin/bash -c "zcat /usr/share/app-info/xmls/community.xml.gz | sed 's|<em>||g;s|<\/em>||g;' | gzip > '/tmp/new.xml.gz'"
  583. arch-chroot /mnt /bin/bash -c "cp /tmp/new.xml.gz /usr/share/app-info/xmls/community.xml.gz"
  584. arch-chroot /mnt /bin/bash -c "pacman -S appstream --noconfirm --needed"
  585. arch-chroot /mnt /bin/bash -c "appstreamcli refresh-cache --force"
  586. clear
  587. fi
  588.  
  589. if [ "$AUR7" == "true" ]; then
  590. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S octopi --noeditmenu --noconfirm --needed"
  591. fi
  592.  
  593. if [ "$AUR8" == "true" ]; then
  594. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S cylon --noeditmenu --noconfirm --needed"
  595. fi
  596.  
  597. if [ "$AUR9" == "true" ]; then
  598. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S argon --noeditmenu --noconfirm --needed"
  599. fi
  600.  
  601. if [ "$AUR10" == "true" ]; then
  602. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pakku-gui --noeditmenu --noconfirm --needed"
  603. fi
  604.  
  605.  
  606.  
  607.  
  608.  
  609. if [ "$GAM1" == "true" ]; then
  610. steaminstall
  611. fi
  612.  
  613. if [ "$GAM2" == "true" ]; then
  614. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S wine-staging --noeditmenu --noconfirm --needed"
  615. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S giflib --noeditmenu --noconfirm --needed"
  616. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-giflib --noeditmenu --noconfirm --needed"
  617. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libpng --noeditmenu --noconfirm --needed"
  618. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libpng --noeditmenu --noconfirm --needed"
  619. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libldap --noeditmenu --noconfirm --needed"
  620. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libldap --noeditmenu --noconfirm --needed"
  621. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnutls --noeditmenu --noconfirm --needed"
  622. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-gnutls --noeditmenu --noconfirm --needed"
  623. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S mpg123 --noeditmenu --noconfirm --needed"
  624. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-mpg123 --noeditmenu --noconfirm --needed"
  625. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S openal --noeditmenu --noconfirm --needed"
  626. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-openal --noeditmenu --noconfirm --needed"
  627. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S v4l-utils --noeditmenu --noconfirm --needed"
  628. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-v4l-utils --noeditmenu --noconfirm --needed"
  629. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libpulse --noeditmenu --noconfirm --needed"
  630. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libpulse --noeditmenu --noconfirm --needed"
  631. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libgpg-error --noeditmenu --noconfirm --needed"
  632. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libgpg-error --noeditmenu --noconfirm --needed"
  633. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alsa-plugins --noeditmenu --noconfirm --needed"
  634. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-alsa-plugins --noeditmenu --noconfirm --needed"
  635. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alsa-lib --noeditmenu --noconfirm --needed"
  636. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-alsa-lib --noeditmenu --noconfirm --needed"
  637. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libjpeg-turbo --noeditmenu --noconfirm --needed"
  638. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libjpeg-turbo --noeditmenu --noconfirm --needed"
  639. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S sqlite --noeditmenu --noconfirm --needed"
  640. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-sqlite --noeditmenu --noconfirm --needed"
  641. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libxcomposite --noeditmenu --noconfirm --needed"
  642. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libxcomposite --noeditmenu --noconfirm --needed"
  643. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libxinerama --noeditmenu --noconfirm --needed"
  644. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libxinerama --noeditmenu --noconfirm --needed"
  645. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libgcrypt --noeditmenu --noconfirm --needed"
  646. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libgcrypt --noeditmenu --noconfirm --needed"
  647. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ncurses --noeditmenu --noconfirm --needed"
  648. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-ncurses --noeditmenu --noconfirm --needed"
  649. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S opencl-icd-loader --noeditmenu --noconfirm --needed"
  650. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-opencl-icd-loader --noeditmenu --noconfirm --needed"
  651. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libxslt --noeditmenu --noconfirm --needed"
  652. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libxslt --noeditmenu --noconfirm --needed"
  653. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libva --noeditmenu --noconfirm --needed"
  654. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libva --noeditmenu --noconfirm --needed"
  655. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gtk3 --noeditmenu --noconfirm --needed"
  656. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-gtk3 --noeditmenu --noconfirm --needed"
  657. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-plugins-base-libs --noeditmenu --noconfirm --needed"
  658. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-gst-plugins-base-libs --noeditmenu --noconfirm --needed"
  659. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S sdl --noeditmenu --noconfirm --needed"
  660. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S sdl2 --noeditmenu --noconfirm --needed"
  661. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-sdl2 --noeditmenu --noconfirm --needed"
  662. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vkd3d --noeditmenu --noconfirm --needed"
  663. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-vkd3d --noeditmenu --noconfirm --needed"
  664. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-headers --noeditmenu --noconfirm --needed"
  665. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-tools --noeditmenu --noconfirm --needed"
  666. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-icd-loader --noeditmenu --noconfirm --needed"
  667. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-vulkan-icd-loader --noeditmenu --noconfirm --needed"
  668. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ocl-icd --noeditmenu --noconfirm --needed"
  669. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-ocl-icd --noeditmenu --noconfirm --needed"
  670. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S opencl-headers --noeditmenu --noconfirm --needed"
  671. fi
  672.  
  673.  
  674.  
  675.  
  676. if [ "$GAM3" == "true" ]; then
  677. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S crossover --noeditmenu --noconfirm --needed"
  678. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libsm --noeditmenu --noconfirm --needed"
  679. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S giflib --noeditmenu --noconfirm --needed"
  680. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-giflib --noeditmenu --noconfirm --needed"
  681. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libpng --noeditmenu --noconfirm --needed"
  682. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libpng --noeditmenu --noconfirm --needed"
  683. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libldap --noeditmenu --noconfirm --needed"
  684. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libldap --noeditmenu --noconfirm --needed"
  685. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gnutls --noeditmenu --noconfirm --needed"
  686. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-gnutls --noeditmenu --noconfirm --needed"
  687. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S mpg123 --noeditmenu --noconfirm --needed"
  688. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-mpg123 --noeditmenu --noconfirm --needed"
  689. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S openal --noeditmenu --noconfirm --needed"
  690. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-openal --noeditmenu --noconfirm --needed"
  691. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S v4l-utils --noeditmenu --noconfirm --needed"
  692. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-v4l-utils --noeditmenu --noconfirm --needed"
  693. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libpulse --noeditmenu --noconfirm --needed"
  694. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libpulse --noeditmenu --noconfirm --needed"
  695. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libgpg-error --noeditmenu --noconfirm --needed"
  696. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libgpg-error --noeditmenu --noconfirm --needed"
  697. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alsa-plugins --noeditmenu --noconfirm --needed"
  698. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-alsa-plugins --noeditmenu --noconfirm --needed"
  699. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S alsa-lib --noeditmenu --noconfirm --needed"
  700. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-alsa-lib --noeditmenu --noconfirm --needed"
  701. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libjpeg-turbo --noeditmenu --noconfirm --needed"
  702. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libjpeg-turbo --noeditmenu --noconfirm --needed"
  703. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S sqlite --noeditmenu --noconfirm --needed"
  704. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-sqlite --noeditmenu --noconfirm --needed"
  705. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libxcomposite --noeditmenu --noconfirm --needed"
  706. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libxcomposite --noeditmenu --noconfirm --needed"
  707. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libxinerama --noeditmenu --noconfirm --needed"
  708. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libxinerama --noeditmenu --noconfirm --needed"
  709. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libgcrypt --noeditmenu --noconfirm --needed"
  710. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libgcrypt --noeditmenu --noconfirm --needed"
  711. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ncurses --noeditmenu --noconfirm --needed"
  712. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-ncurses --noeditmenu --noconfirm --needed"
  713. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S opencl-icd-loader --noeditmenu --noconfirm --needed"
  714. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-opencl-icd-loader --noeditmenu --noconfirm --needed"
  715. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libxslt --noeditmenu --noconfirm --needed"
  716. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libxslt --noeditmenu --noconfirm --needed"
  717. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S libva --noeditmenu --noconfirm --needed"
  718. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-libva --noeditmenu --noconfirm --needed"
  719. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gtk3 --noeditmenu --noconfirm --needed"
  720. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-gtk3 --noeditmenu --noconfirm --needed"
  721. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S gst-plugins-base-libs --noeditmenu --noconfirm --needed"
  722. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-gst-plugins-base-libs --noeditmenu --noconfirm --needed"
  723. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S sdl --noeditmenu --noconfirm --needed"
  724. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S sdl2 --noeditmenu --noconfirm --needed"
  725. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-sdl2 --noeditmenu --noconfirm --needed"
  726. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vkd3d --noeditmenu --noconfirm --needed"
  727. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-vkd3d --noeditmenu --noconfirm --needed"
  728. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-headers --noeditmenu --noconfirm --needed"
  729. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-tools --noeditmenu --noconfirm --needed"
  730. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S vulkan-icd-loader --noeditmenu --noconfirm --needed"
  731. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-vulkan-icd-loader --noeditmenu --noconfirm --needed"
  732. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ocl-icd --noeditmenu --noconfirm --needed"
  733. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lib32-ocl-icd --noeditmenu --noconfirm --needed"
  734. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S opencl-headers --noeditmenu --noconfirm --needed"
  735. fi
  736.  
  737.  
  738.  
  739. if [ "$GAM4" == "true" ]; then
  740. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S winetricks --noeditmenu --noconfirm --needed"
  741. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S zenity --noeditmenu --noconfirm --needed"
  742. fi
  743.  
  744.  
  745. if [ "$GAM5" == "true" ]; then
  746. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S lutris --noeditmenu --noconfirm --needed"
  747. fi
  748.  
  749.  
  750. if [ "$GAM6" == "true" ]; then
  751. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S legendary --noeditmenu --noconfirm --needed"
  752. fi
  753.  
  754.  
  755. if [ "$GAM7" == "true" ]; then
  756. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S retroarch --noeditmenu --noconfirm --needed"
  757. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S retroarch-assets-xmb --noeditmenu --noconfirm --needed"
  758. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S retroarch-assets-ozone --noeditmenu --noconfirm --needed"
  759. fi
  760.  
  761.  
  762. if [ "$GAM8" == "true" ]; then
  763. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S snes9x-gtk --noeditmenu --noconfirm --needed"
  764. fi
  765.  
  766.  
  767. if [ "$GAM9" == "true" ]; then
  768. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S ppsspp --noeditmenu --noconfirm --needed"
  769. fi
  770.  
  771. if [ "$GAM10" == "true" ]; then
  772. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S pcsx2 --noeditmenu --noconfirm --needed"
  773. fi
  774.  
  775. if [ "$GAM11" == "true" ]; then
  776. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S rpcs3 --noeditmenu --noconfirm --needed"
  777. fi
  778.  
  779. if [ "$GAM12" == "true" ]; then
  780. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S cemu --noeditmenu --noconfirm --needed"
  781. fi
  782.  
  783. if [ "$GAM13" == "true" ]; then
  784. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S citra-git --noeditmenu --noconfirm --needed"
  785. fi
  786.  
  787. if [ "$GAM14" == "true" ]; then
  788. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S desmume --noeditmenu --noconfirm --needed"
  789. fi
  790.  
  791. if [ "$GAM15" == "true" ]; then
  792. arch-chroot /mnt /bin/bash -c "sudo -u $username yay -S higan --noeditmenu --noconfirm --needed"
  793. fi
  794.  
  795.  
  796.  
  797. }
  798.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement