diff --git a/rp-os-ae.sh b/rp-os-ae.sh index b2b4013..7579cde 100644 --- a/rp-os-ae.sh +++ b/rp-os-ae.sh @@ -5,9 +5,13 @@ bold=$(tput bold) # ${bold} normal=$(tput sgr0) # ${normal} yellow=$(tput setaf 3) # ${yellow} + + sudo sed -i 's/# %wheel ALL=(ALL:ALL) ALL/ %wheel ALL=(ALL:ALL) ALL/' /etc/sudoers + sudo sed -i 's/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/ %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers + # 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 rsync --noconfirm + 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 rsync hblock --noconfirm sudo systemctl enable gdm.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service @@ -58,4 +62,9 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER set-gdm-theme set Yaru-purple-dark /usr/share/backgrounds/raveos-bg.png - reboot \ No newline at end of file + sudo sed -i 's/ %wheel ALL=(ALL:ALL) ALL/# %wheel ALL=(ALL:ALL) ALL/' /etc/sudoers + sudo sed -i 's/ %wheel ALL=(ALL:ALL) NOPASSWD: ALL/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /etc/sudoers + + groups $USER + + #reboot \ No newline at end of file