solbuilds/setup-solus.sh

48 lines
1.6 KiB
Bash
Raw Normal View History

2018-01-29 21:01:53 +01:00
#!/bin/bash
2018-01-30 10:48:40 +01:00
cd
2018-01-29 21:01:53 +01:00
2018-01-30 19:27:00 +01:00
sudo eopkg up -y
2018-01-29 21:01:53 +01:00
sudo snap install spotify
sudo eopkg it -c system.devel -y
sudo eopkg it xrdb zsh git git-lfs telegram htop etcher golang zip unzip cava neofetch aria2 acpi ncmpcpp rxvt-unicode vim epson-inkjet-printer-escpr flatpak texlive-all solbuild pip -y
2018-01-30 16:55:51 +01:00
sudo ln -s /usr/bin/telegram /usr/bin/telegram-desktop &> /dev/null
2018-01-30 09:41:42 +01:00
2018-01-30 16:55:51 +01:00
sudo eopkg ar solbuilds https://github.com/ZotanWolf/solbuilds/raw/master/repo/eopkg-index.xml.xz
sudo eopkg er solbuilds
sudo eopkg it chrome cli-visualizer dotnet-sdk geogebra insync jetbrains-toolbox libspotify libspotify-devel sublime-text-dev xarchiver -y
2018-01-30 10:48:40 +01:00
2018-01-29 21:01:53 +01:00
sudo solbuild update
if [[ $? == 1 ]]; then
sudo solbuild init
sudo solbuild update
fi
sudo pip install mopidy mopidy-spotify mopidy-spotify-web mopidy-iris
flatpak install --user --from https://download.mono-project.com/repo/monodevelop.flatpakref -y
wget https://zotan.pw/dotfiles.zip -O /tmp/dotfiles.zip
unzip -o /tmp/dotfiles.zip -d .
xrdb -load .Xresources
bash -c "$(curl -sSL zotan.pw/solus-ohmyz.sh)"
cat .zshrc | grep transfer.sh -q
if [[ $? -ne 0 ]]; then
curl -fsSL https://gist.githubusercontent.com/anonymous/c2a9e0ea86b5fb9c7971182f461e33e4/raw/567a15b8491cb9106c53835c731e583d3b12d7b5/gistfile1.txt >> .zshrc
fi
2018-01-30 16:55:51 +01:00
cat .zshrc | grep "alias gst=" -q
if [[ $? -ne 0 ]]; then
printf "\n" >> .zshrc
echo "alias gst='git status'" >> .zshrc
echo "alias gad='git add'" >> .zshrc
echo "alias gcm='git commit'" >> .zshrc
echo "alias gcmm='git commit -m'" >> .zshrc
echo "alias gps='git push'" >> .zshrc
echo "alias gpl='git pull'" >> .zshrc
echo "alias grm='git rm'" >> .zshrc
fi