aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh28
1 files changed, 2 insertions, 26 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index b17bba6..f37b378 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -2,6 +2,8 @@
dotfiles_dir=$(cd -- "$(dirname ${BASH_SOURCE})/.." > /dev/null 2>&1; pwd -P)
+mkdir -p "$HOME/.config"
+
remove_and_link () {
for var in $@
do
@@ -31,33 +33,7 @@ main () {
return
fi
- if [ $1 = 'install' ]; then
- install
- return
- fi
-
remove_and_link $@
}
-install () {
- if [ -f '/etc/arch-release' ]; then
- arch_install
- else
- echo "No script for this OS"
- fi
-}
-
-arch_install () {
- sudo pacman -Syu git xorg-server xorg-xinit networkmanager alsa-utils \
- openssh keepassxc bluez bluez-utils \
- adobe-source-han-serif-cn-fonts adobe-source-han-sans-cn-fonts \
- wqy-zenhei wqy-microhei wqy-microhei-lite wqy-bitmapfont \
- noto-fonts-cjk noto-fonts-emoji noto-fonts-extra \
- firefox steam \
- fcitx5-im fcitx5-chinese-addons fcitx5-anthy fcitx5-pinyin-zhwiki \
- i3-wm
-
- echo 'Please remember to install GPU driver'
-}
-
main "$@"