updated dotfiles to only use main and updated configure-system to install default xprofile

This commit is contained in:
Solomon Laing 2021-12-20 16:06:55 +10:30
parent 57de42a453
commit 5c31a3243a
3 changed files with 30 additions and 32 deletions

View File

@ -114,6 +114,9 @@ if command -v NetworkManager &> /dev/null; then
esac
fi
# copy xprofile default from template
cp ~/.xprofile.tmpl ~/.xprofile
# notify about steam issue (multilib)
echo "
Unfortunately Steam cannot be installed as [multilib] must be enabled first. Instructions for how to do this can be found at: https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib Also it semes that freetube (ususally one of my misc programs, is not installing correctly so I have removed it."
@ -124,4 +127,4 @@ echo "
This script has installed all of my default programs however it may not have configured many things. My dotfiles may cover some of these but things such as gnome-keyring (using the pam method), as well as setting up nvidia and xorg may need some extra attention. There are likely more that I have forgotton as well."
read -r -p "Press [ENTER] to complete."
echo "Please reboot the system."
echo "Please reboot the system."

View File

@ -1,4 +1,4 @@
DEPENDENCIES_START
viciousDEPENDENCIES_START
yad
tumbler
libopenraw
@ -110,3 +110,25 @@ cowsay
neofetch
sxiv
MISC_END
EXTRAS_START
i3
qtile
awesome
rxvt-unicode
perl-json-xs
perl-anyevent-i3
alsa-utils
canto-daemon
khal
moc
python-dbus-next
python-iwlib
python-mpd2
python-pywlroots
python-setproctitle
rlwrap
dex
vicious
EXTRAS_END

View File

@ -34,24 +34,7 @@ echo "
The script will now attempt to install the configs, if configs have been installed using the method found here: https://www.atlassian.com/git/tutorials/dotfiles, there will be issues.
"
echo "There are configs for laptops, my personal desktop, and a general config. Which would you like to intsall?"
echo "Standard, 1"
echo "Laptop (general), 2"
echo "Desktop (personal), 3"
read -r -p "Choose one (default=1): " choice
case $choice in
3)
config checkout arch-desktop
;;
2)
config checkout arch-laptop
;;
*)
config checkout main
;;
esac
config checkout main
if [ $? = 0 ]; then
echo "Checked out config.";
@ -61,21 +44,11 @@ else
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv $HOME/{} $HOME/.config-backup/{}
fi;
case $choice in
3)
config checkout arch-desktop
;;
2)
config checkout arch-laptop
;;
*)
config checkout main
;;
esac
config checkout main
config config status.showUntrackedFiles no
config config --global credential.helper store
read -r -p "Remember to identify yourself to git with
config config user.name \"Your Name\" and config config user.email \"Your Email\".
Press [Enter] to continue."
Press [Enter] to continue."