From ffbed46888f68713078f785fbd039033992a2d70 Mon Sep 17 00:00:00 2001 From: jnats Date: Mon, 10 May 2021 00:10:30 +0100 Subject: [PATCH] Update chrooted.sh --- chrooted.sh | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/chrooted.sh b/chrooted.sh index 9011dc5..391e7b9 100644 --- a/chrooted.sh +++ b/chrooted.sh @@ -6,13 +6,8 @@ echo "chrooted in the new system, running as $(whoami)" echo "Performing minor tweaks" sed -i 's/Arch Linux/CrystalUX/g' /etc/issue -sed -i 's/Arch Linux/CrystalUX/g' /etc/arch-release - -sed -i 's/Arch Linux/CrystalUX/g' /etc/os-release -sed -i 's/LOGO=archlinux/LOGO=crystalux/g' /etc/os-release - -sed -i 's/Arch Linux/CrystalUX/g' /usr/lib/os-release -sed -i 's/LOGO=archlinux/LOGO=crystalux/g' /usr/lib/os-release +cd /etc/ && curl -LO https://raw.githubusercontent.com/crystalux-project/iso/main/os-release +cd /usr/lib/ && curl -LO https://raw.githubusercontent.com/crystalux-project/iso/main/os-release echo "CrystalLive" > /etc/hostname #reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist @@ -23,7 +18,9 @@ chmod +x /usr/bin/mirrorsetup useradd -m crystal usermod -p $(echo "crystal" | openssl passwd -6 -stdin) crystal usermod -p $(echo "crystal" | openssl passwd -6 -stdin) root -echo "menu" >> /home/crystal/.bashrc +echo "PROMPT='%n@%m %~ %# '" > /home/crystal/.zshrc +echo "menu" >> /home/crystal/.zshrc +chsh -s $(which zsh) crystal if [[ -d /etc/crystal/bootopts ]]; then chmod +x /etc/crystal/bootopts/* fi @@ -34,8 +31,6 @@ echo "name=breeze-dark" >> /home/crystal/.config/plasmarc chown -R crystal:crystal /home/crystal/ chmod +x /home/crystal/.xinitrc - - systemctl enable NetworkManager # i'm tired ok