1
0
Fork 0
forked from RP1/RaveOS-arch
RaveOS-arch/rp-os-ae.sh

57 lines
2.3 KiB
Bash
Raw Normal View History

2024-12-19 21:02:20 +00:00
#!/usr/bin/env bash
2024-12-20 20:05:31 +00:00
set -e
2024-12-19 20:51:55 +00:00
# RaveOS Setup Script
bold=$(tput bold) # ${bold}
normal=$(tput sgr0) # ${normal}
yellow=$(tput setaf 3) # ${yellow}
2024-12-20 21:53:23 +00:00
sudo useradd -m -G wheel -s /bin/bash "$USER"
2024-12-20 20:25:10 +00:00
2024-12-19 20:51:55 +00:00
# Installing packages
sudo pacman -S gnome-terminal gnome-session gdm gnome-disk-utility gnome-system-monitor eog flatpak base-devel bash-completion firefox gedit gnome-calculator baobab ffmpeg git gnome-control-center gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel spice-vdagent --noconfirm
2024-12-19 20:51:55 +00:00
sudo systemctl enable gdm.service
2024-12-20 20:48:36 +00:00
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
2024-12-19 20:51:55 +00:00
git clone https://aur.archlinux.org/yay-bin.git
2024-12-19 21:15:09 +00:00
cd yay-bin
2024-12-20 21:30:55 +00:00
makepkg -si --noconfirm
2024-12-19 22:19:05 +00:00
cd -
rm -rf yay-bin
2024-12-19 20:51:55 +00:00
2024-12-20 18:36:24 +00:00
2024-12-19 22:41:15 +00:00
git clone https://aur.archlinux.org/yaru.git
cd yaru
2024-12-20 21:30:55 +00:00
makepkg -si --noconfirm
2024-12-19 22:41:15 +00:00
cd -
rm -rf yaru
2024-12-19 21:34:04 +00:00
2024-12-19 20:51:55 +00:00
# RaveOS Cosmetics
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-purple-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple-dark'
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"
2024-12-20 18:36:24 +00:00
yay -S gdm-tools --noconfirm --sudoloop --save
2024-12-19 20:51:55 +00:00
mkdir cosmetics
cd cosmetics
2024-12-19 21:07:34 +00:00
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/R_0cJkKL/
2024-12-19 20:51:55 +00:00
unzip cosmetics.zip
2024-12-20 20:05:31 +00:00
sudo chown -R $USER:$GROUP /home/$USER/cosmetics/
2024-12-20 21:06:56 +00:00
sudo rsync -ap --info=progress2 gnome-shell /home/$USER/.local/share/
2024-12-19 20:51:55 +00:00
cp -a burn-my-windows /home/$USER/.config/
2024-12-20 18:36:24 +00:00
sudo cp -a rave-pp.png /usr/share/pixmaps/faces/
echo "[User]
Session=
Icon=/usr/share/pixmaps/faces/rave-pp.png
SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
sudo cp -a archlinux-logo-text-dark.svg /usr/share/pixmaps/
2024-12-20 21:30:55 +00:00
sudo cp -a view-app-grid-symbolic.svg /usr/share/iconsDefaults passwd_tries=3, passwd_timeout=60
2024-12-20 21:51:11 +00:00
2024-12-20 21:53:23 +00:00
sudo userdel -m -G wheel -s /bin/bash "$USER"
2024-12-20 18:36:24 +00:00
reboot