From d3b18b39599b8c92105fe37646fd821bf7f4e651 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Fri, 22 Oct 2021 14:12:35 -0500 Subject: user fixes --- 1-setup.sh | 16 +++++++++------- 2-user.sh | 4 ++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/1-setup.sh b/1-setup.sh index 566052c..776c935 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -167,7 +167,6 @@ PKGS=( 'libnewt' 'libtool' 'linux' -'linux-lts' 'linux-firmware' 'linux-headers' 'lsof' @@ -213,7 +212,10 @@ PKGS=( 'python-pip' 'qemu' 'rsync' +'sddm' 'sddm-kcm' +'snapper' +'snap-pac' 'spectacle' 'steam' 'sudo' @@ -283,18 +285,18 @@ echo -e "\nDone!\n" if [ $(whoami) = "root" ]; then - [ ! -d "/home/$username" ] && useradd -m -g users -G wheel -s /bin/bash $username + [ ! -d "/home/$username" ] && useradd -m -G wheel,libvirt -s /bin/bash $username cp -R /root/ArchTitus /home/$username/ + chown -R $username: /home/$username/ArchTitus echo "--------------------------------------" echo "-- Set Password for $username --" echo "--------------------------------------" echo "Enter password for $username user: " passwd $username - cp /etc/skel/.bash_profile /home/$username/ - cp /etc/skel/.bash_logout /home/$username/ - cp /etc/skel/.bashrc /home/$username/.bashrc - chown -R $username: /home/$username - sed -n '#/home/'"$username"'/#,s#bash#zsh#' /etc/passwd +# cp /etc/skel/.bash_profile /home/$username/ +# cp /etc/skel/.bash_logout /home/$username/ +# cp /etc/skel/.bashrc /home/$username/.bashrc + else echo "You are already a user proceed with aur installs" fi diff --git a/2-user.sh b/2-user.sh index c3dafa0..6f95493 100755 --- a/2-user.sh +++ b/2-user.sh @@ -38,9 +38,9 @@ PKGS=( 'nordic-theme' 'noto-fonts-emoji' 'papirus-icon-theme' -'sddm-nordic-theme-git' 'ocs-url' # install packages from websites -'timeshift-bin' +'sddm-nordic-theme-git' +'snapper-gui-git' 'ttf-droid' 'ttf-hack' 'ttf-meslo' # Nerdfont package -- cgit v1.2.3