From c7a6f4cfee3ab211c23df79b66aed3751aceb78c Mon Sep 17 00:00:00 2001 From: nodemixaholic Date: Sun, 31 Mar 2024 18:37:49 +0000 Subject: [PATCH] Update 'shit.sh' --- shit.sh | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/shit.sh b/shit.sh index c2d6058..8b8abe8 100644 --- a/shit.sh +++ b/shit.sh @@ -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" \ No newline at end of file +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 .. \ No newline at end of file