Update 'shit.sh'

This commit is contained in:
nodemixaholic 2024-03-31 18:37:49 +00:00
parent 791bc306c8
commit c7a6f4cfee

23
shit.sh
View file

@ -74,4 +74,25 @@ sudo apt install -y libreoffice krita network-manager-gnome || {
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
## Replace bash with busybox sh
printf "\n\nbusybox sh" >> "/etc/bash.bashrc"
printf "\n\nbusybox sh" >> "/etc/bash.bashrc"
## Add T2 Mac Compatibility
sudo apt install curl git
sudo apt install cinnamon sddm
curl -s --compressed "https://adityagarg8.github.io/t2-ubuntu-repo/KEY.gpg" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/t2-ubuntu-repo.gpg >/dev/null
sudo curl -s --compressed -o /etc/apt/sources.list.d/t2.list "https://adityagarg8.github.io/t2-ubuntu-repo/t2.list"
sudo apt update
sudo apt install t2-kernel-script
sudo update_t2_kernel
sudo apt install apple-t2-audio-config tiny-dfr zstd
wget http://nodemixaholic.com:3002/nodemixaholic/apple-broadcom-firmware-arch/raw/branch/main/apple-bcm-firmware-14.0-1-any.pkg.tar.zst
zstd -d -c apple-bcm-firmware-14.0-1-any.pkg.tar.zst | tar -xvf -
sudo cp -r ./usr/* /usr/
sudo apt install iwd
sudo sed -i 's/^wifi\.backend.*/wifi.backend=iwd/' /etc/NetworkManager/NetworkManager.conf
sudo systemctl enable --now iwd
git clone https://github.com/kekrby/t2-better-audio
cd t2-better-audio
sudo ./install.sh
cd ..