|
|
@ -199,9 +199,12 @@ manualinstall $aurhelper || error "Failed to install AUR helper."
|
|
|
|
# and all build dependencies are installed.
|
|
|
|
# and all build dependencies are installed.
|
|
|
|
installationloop
|
|
|
|
installationloop
|
|
|
|
|
|
|
|
|
|
|
|
# install dotfiles as bare repo to easily update
|
|
|
|
dialog --title "LARBS Installation" --infobox "Finally, installing \`libxft-bgra\` to enable color emoji in suckless software without crashes." 5 70
|
|
|
|
runuser -l $USER -c 'git clone --bare $dotfilesrepo /home/$USER/.dotfiles'
|
|
|
|
yes | sudo -u "$name" $aurhelper -S libxft-bgra >/dev/null 2>&1
|
|
|
|
runuser -l $USER -c 'git --git-dir=/home/$USER/.dotfiles/ --work-tree=/home/$USER checkout -f'
|
|
|
|
|
|
|
|
|
|
|
|
# Install the dotfiles in the user's home directory
|
|
|
|
|
|
|
|
putgitrepo "$dotfilesrepo" "/home/$name" "$repobranch"
|
|
|
|
|
|
|
|
rm -f "/home/$name/README.md" "/home/$name/LICENSE"
|
|
|
|
|
|
|
|
|
|
|
|
# Pulseaudio, if/when initially installed, often needs a restart to work immediately.
|
|
|
|
# Pulseaudio, if/when initially installed, often needs a restart to work immediately.
|
|
|
|
[ -f /usr/bin/pulseaudio ] && resetpulse
|
|
|
|
[ -f /usr/bin/pulseaudio ] && resetpulse
|
|
|
@ -209,8 +212,8 @@ runuser -l $USER -c 'git --git-dir=/home/$USER/.dotfiles/ --work-tree=/home/$USE
|
|
|
|
# Enable services here.
|
|
|
|
# Enable services here.
|
|
|
|
systemctl enable NetworkManager
|
|
|
|
systemctl enable NetworkManager
|
|
|
|
|
|
|
|
|
|
|
|
#changing default shell
|
|
|
|
# Make zsh the default shell for the user.
|
|
|
|
chsh -s /bin/zsh $USER
|
|
|
|
sed -i "s/^$name:\(.*\):\/bin\/.*/$name:\1:\/bin\/zsh/" /etc/passwd
|
|
|
|
|
|
|
|
|
|
|
|
#updating pkgfile packagerepos
|
|
|
|
#updating pkgfile packagerepos
|
|
|
|
sudo pkgfile -u
|
|
|
|
sudo pkgfile -u
|
|
|
|