Skip to content

Commit

Permalink
Manjaro migration
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Apr 3, 2019
1 parent 3364028 commit aeaa752
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 178 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Recommended to get all the needed packages installed for a working desktop OS.

```
sudo xbps-install -A curl
curl -L http://void.sulli.cc | sh
curl -L http://manjaro.sulli.cc | sh
```

### Manual
Expand Down
132 changes: 132 additions & 0 deletions manjaro.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
#!/usr/bin/env sh
set -e

# Yaourt installation
if [[ ! -x "$(command -v yaourt)" ]]; then
sudo pacman --sync --noconfirm --needed base-devel git
cd /tmp
git clone https://aur.archlinux.org/package-query.git
cd package-query
makepkg --syncdeps --install --noconfirm
cd /tmp
git clone https://aur.archlinux.org/yaourt.git
cd yaourt
makepkg --syncdeps --install --noconfirm
cd ${HOME}
fi

# Package conflicts
yaourt --remove --noconfirm vim

yaourt --sync --noconfirm \
atom \
atool \
asciinema \
bfs \
browserpass \
bootiso \
caddy \
chromium \
colordiff \
curl \
deepin-screenshot \
dep \
docker \
docker-compose \
expect \
firefox \
firefox-developer-edition \
fzf \
ghq \
gnupg \
go \
google-chrome \
google-cloud-sdk \
gource \
gtop \
gvim \
httpie \
htop \
hub \
imagewriter \
inetutils \
jdk-openjdk \
jq \
keybase-gui \
make \
nodejs \
noto-fonts-cjk \
noto-fonts-extra \
otf-fira-code \
otf-font-awesome \
papirus-icon-theme \
pass \
polybar \
ripgrep \
rofi \
ruby \
ruby-travis \
screenfetch \
snapd \
ssh-audit \
steam \
subversion \
termite \
tmux \
ttf-emojione \
ttf-fira-code \
ttf-font-awesome \
ttf-google-fonts-git \
ttf-hack \
vi-vim-symlink \
wget \
zsh \
&& echo 'Packages installation finished! \o/'

sudo systemctl enable --now snapd
sudo systemctl start snapd && sleep 3
sudo ln --symbolic /var/lib/snapd/snap /snap

sudo snap install slack --classic
sudo snap install discord
sudo snap install goland --classic
sudo snap install phpstorm --classic
sudo snap install pycharm-professional --classic
sudo snap install rubymine --classic
sudo snap install webstorm --classic

sudo usermod --append --groups docker $(whoami)

DOTFILES="github.com/soullivaneuh/dotfiles"
GHQ_ROOT="${HOME}/p" ghq get https://${DOTFILES}
cd "${HOME}/p/${DOTFILES}"
git checkout manjaro
git submodule init
git submodule update
rm --recursive --force ${HOME}/.config
make deploy init
keybase login soullivaneuh || true
if [ -z $(gpg --fingerprint --with-colons | grep -o 04460CD228DF9E0D42F07643992EB6FAFD4E6361) ]; then
keybase pgp export | gpg --import
keybase pgp export --secret | gpg --import
./gpg-trust.exp FD4E6361
fi
cd -

curl -sLf https://spacevim.org/install.sh | bash

DEPLOY="private/soullivaneuh/deploy"
GHQ_ROOT="${HOME}/p" ghq get keybase://${DEPLOY}
bash "${HOME}/p/${DEPLOY}/deploy.sh"

BIN_PATH="${HOME}/bin"
mkdir --parent ${BIN_PATH}

GIT_SRC="github.com/git/git"
GHQ_ROOT="${HOME}/p" ghq get https://${GIT_SRC}
cd "${HOME}/p/${GIT_SRC}/contrib/diff-highlight" && make && cd -
ln --symbolic --force "${HOME}/p/${GIT_SRC}/contrib/diff-highlight/diff-highlight" "${BIN_PATH}/diff-highlight"

sudo chsh -s /bin/zsh $(whoami)

sudo reboot
2 changes: 0 additions & 2 deletions packages.list

This file was deleted.

175 changes: 0 additions & 175 deletions void.sh

This file was deleted.

0 comments on commit aeaa752

Please sign in to comment.