aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh208
1 files changed, 97 insertions, 111 deletions
diff --git a/install.sh b/install.sh
index 8a43e1f..64ad014 100755
--- a/install.sh
+++ b/install.sh
@@ -19,65 +19,65 @@
echo "Update system..."
-#sudo pacman -Syu --noconfirm --needed
+sudo pacman -Syu --noconfirm --needed
echo "Install some common app.."
-#sudo pacman -S --noconfirm --needed git
-#sudo pacman -S --noconfirm --needed wget
-#sudo pacman -S --noconfirm --needed python
-#sudo pacman -S --noconfirm --needed python2
-#sudo pacman -S --noconfirm --needed python-virtualenv
-#sudo pacman -S --noconfirm --needed python2-virtualenv
-#sudo pacman -S --noconfirm --needed python-virtualenvwrapper
-#sudo pacman -S --noconfirm --needed python-pip
-#sudo pacman -S --noconfirm --needed python-colour
-#sudo pacman -S --noconfirm --needed python-netifaces
-#sudo pacman -S --noconfirm --needed python-dbus
-#sudo pacman -S --noconfirm --needed firefox
-#sudo pacman -S --noconfirm --needed stow
-#sudo pacman -S --noconfirm --needed htop
-#sudo pacman -S --noconfirm --needed arandr
-#sudo pacman -S --noconfirm --needed firefox
-#sudo pacman -S --noconfirm --needed newsboat
-#sudo pacman -S --noconfirm --needed mosh
-#sudo pacman -S --noconfirm --needed openvpn
-#sudo pacman -S --noconfirm --needed exa
-#sudo pacman -S --noconfirm --needed colordiff
-#sudo pacman -S --noconfirm --needed eog
-#sudo pacman -S --noconfirm --needed borg
-#sudo pacman -S --noconfirm --needed nmap
-#sudo pacman -S --noconfirm --needed evince
-#sudo pacman -S --noconfirm --needed ripgrep
-#sudo pacman -S --noconfirm --needed thefuck
-#sudo pacman -S --noconfirm --needed autojump
-#sudo pacman -S --noconfirm --needed fzf
-#sudo pacman -S --noconfirm --needed speedtest-cli
-#sudo pacman -S --noconfirm --needed tig
-#sudo pacman -S --noconfirm --needed redshift
-#sudo pacman -S --noconfirm --needed pavucontrol
-#sudo pacman -S --noconfirm --needed pulseaudio
-#systemctl --user enable pulseaudio.service
-#systemctl --user start pulseaudio.service
-#sudo pacman -S --noconfirm --needed ffmepg
-#sudo pacman -S --noconfirm --needed mpv
-#sudo pacman -S --noconfirm --needed tmux
-#sudo pacman -S --noconfirm --needed openssh
+sudo pacman -S --noconfirm --needed git
+sudo pacman -S --noconfirm --needed wget
+sudo pacman -S --noconfirm --needed python
+sudo pacman -S --noconfirm --needed python2
+sudo pacman -S --noconfirm --needed python-virtualenv
+sudo pacman -S --noconfirm --needed python2-virtualenv
+sudo pacman -S --noconfirm --needed python-virtualenvwrapper
+sudo pacman -S --noconfirm --needed python-pip
+sudo pacman -S --noconfirm --needed python-colour
+sudo pacman -S --noconfirm --needed python-netifaces
+sudo pacman -S --noconfirm --needed python-dbus
+sudo pacman -S --noconfirm --needed firefox
+sudo pacman -S --noconfirm --needed stow
+sudo pacman -S --noconfirm --needed htop
+sudo pacman -S --noconfirm --needed arandr
+sudo pacman -S --noconfirm --needed firefox
+sudo pacman -S --noconfirm --needed newsboat
+sudo pacman -S --noconfirm --needed mosh
+sudo pacman -S --noconfirm --needed openvpn
+sudo pacman -S --noconfirm --needed exa
+sudo pacman -S --noconfirm --needed colordiff
+sudo pacman -S --noconfirm --needed eog
+sudo pacman -S --noconfirm --needed borg
+sudo pacman -S --noconfirm --needed nmap
+sudo pacman -S --noconfirm --needed evince
+sudo pacman -S --noconfirm --needed ripgrep
+sudo pacman -S --noconfirm --needed thefuck
+sudo pacman -S --noconfirm --needed autojump
+sudo pacman -S --noconfirm --needed fzf
+sudo pacman -S --noconfirm --needed speedtest-cli
+sudo pacman -S --noconfirm --needed tig
+sudo pacman -S --noconfirm --needed redshift
+sudo pacman -S --noconfirm --needed pavucontrol
+sudo pacman -S --noconfirm --needed pulseaudio
+systemctl --user enable pulseaudio.service
+systemctl --user start pulseaudio.service
+sudo pacman -S --noconfirm --needed ffmepg
+sudo pacman -S --noconfirm --needed mpv
+sudo pacman -S --noconfirm --needed tmux
+sudo pacman -S --noconfirm --needed openssh
# pikaur installation
echo "Install pikaur..."
-#git clone https://aur.archlinux.org/pikaur.git
-#cd pikaur
-#makepkg -si --noconfirm --needed
-#cd ..
-#rm -rf pikaur
+git clone https://aur.archlinux.org/pikaur.git
+cd pikaur
+makepkg -si --noconfirm --needed
+cd ..
+rm -rf pikaur
echo "[AUR] Install some common app..."
-#pikaur -S --noconfirm --needed grv
-#pikaur -S --noconfirm --needed friendly-find
+pikaur -S --noconfirm --needed grv
+pikaur -S --noconfirm --needed friendly-find
# install needed package for profile
@@ -87,26 +87,26 @@ echo "Install package needed by dotfiles..."
echo "Install zsh..."
-#sudo pacman -S --noconfirm --needed zsh
+sudo pacman -S --noconfirm --needed zsh
## aria2
echo "Install aria2 & diana..."
-#sudo pacman -S --noconfirm --needed aria2
-#pikaur -S --noconfirm --needed diana-git
+sudo pacman -S --noconfirm --needed aria2
+pikaur -S --noconfirm --needed diana-git
## alacritty
echo "Install alacritty..."
-#sudo pacman -S --noconfirm --needed alacritty
+sudo pacman -S --noconfirm --needed alacritty
## cheat
echo "Install cheat..."
-#pikaur -S --noconfirm --needed cheat
+pikaur -S --noconfirm --needed cheat
## gnupg
@@ -114,43 +114,29 @@ echo "Install cheat..."
echo "Install xorg..."
-#sudo pacman -S --noconfirm --needed xorg
+sudo pacman -S --noconfirm --needed xorg
## xinit
echo "Install xinit..."
-#sudo pacman -S --noconfirm --needed xorg-xinit
+sudo pacman -S --noconfirm --needed xorg-xinit
## i3
echo "Install i3..."
-#sudo pacman -S --noconfirm --needed i3-wm
-#sudo pacman -S --noconfirm --needed python-i3-py
-#pikaur -S --noconfirm --needed rofi
-#pikaur -S --noconfirm --needed i3lock-fancy-rapid-git
+sudo pacman -S --noconfirm --needed i3-wm
+sudo pacman -S --noconfirm --needed python-i3-py
+pikaur -S --noconfirm --needed rofi
+pikaur -S --noconfirm --needed i3lock-fancy-rapid-git
## i3pystatus
echo "Install i3pystatus..."
-#git clone https://aur.archlinux.org/package-query.git
-#cd package-query
-#makepkg -si --noconfirm --needed
-#cd ..
-#rm -rf package-query
-#git clone https://aur.archlinux.org/yaourt.git
-#cd yaourt
-#makepkg -si --noconfirm --needed
-#cd ..
-#rm -rf yaourt
-
-#pacman -S --noconfirm --needed pacman-contrib
-#pikaur -S --noconfirm --needed i3pystatus
-
-# needed for update count on i3pystatus
-#pikaur -S --noconfirm --needed yay
+pacman -S --noconfirm --needed pacman-contrib
+pikaur -S --noconfirm --needed i3pystatus
echo "Install waterfox..."
@@ -160,95 +146,95 @@ echo "Install waterfox..."
echo "Install packages need by scripts..."
-#sudo pacman -S --noconfirm --needed pv
-#sudo pacman -S --noconfirm --needed python-i3-py
-#sudo pacman -S --noconfirm --needed imagemagick
-#sudo pacamn -S --noconfirm --needed bind-tools
-#pikaur -S --noconfirm --needed speedtest-cli
-#sudo pacman -S --noconfirm --needed rofi-pass
-#pikaur -S --noconfirm --needed pygmentize
-#pikaur -S --noconfirm --needed xwinwrap-git
+sudo pacman -S --noconfirm --needed pv
+sudo pacman -S --noconfirm --needed python-i3-py
+sudo pacman -S --noconfirm --needed imagemagick
+sudo pacamn -S --noconfirm --needed bind-tools
+pikaur -S --noconfirm --needed speedtest-cli
+sudo pacman -S --noconfirm --needed rofi-pass
+pikaur -S --noconfirm --needed pygmentize
+pikaur -S --noconfirm --needed xwinwrap-git
### Don't work because some function are deprecied an treated as error
#pikaur -S --noconfirm --needed qt5
#pikaur -S --noconfirm --needed twmn-git
-#sudo pacman -S --noconfirm --needed tmuxp
-#sudo pacman -S --noconfirm --needed task
+sudo pacman -S --noconfirm --needed tmuxp
+sudo pacman -S --noconfirm --needed task
-#pikaur -S --noconfirm --needed mpv-mpris
-#sudo pacman -S --noconfirm --needed playerctl
+pikaur -S --noconfirm --needed mpv-mpris
+sudo pacman -S --noconfirm --needed playerctl
## khal
echo "Install khal...."
-#sudo pacman -S --noconfirm --needed khal
+sudo pacman -S --noconfirm --needed khal
## msmtp
echo "Install msmtp..."
-#sudo pacman -S --noconfirm --needed msmtp
+sudo pacman -S --noconfirm --needed msmtp
## mutt
echo "Install mutt..."
-#sudo pacman -S --noconfirm --needed neomutt
+sudo pacman -S --noconfirm --needed neomutt
## newsboat
echo "Install newsboat..."
-#sudo pacman -S --noconfirm --needed newsboat
+sudo pacman -S --noconfirm --needed newsboat
## notmuch
echo "Install notmuch..."
-#sudo pacman -S --noconfirm --needed notmuch
+sudo pacman -S --noconfirm --needed notmuch
## nvim
echo "Install nvim..."
-#sudo pacman -S --noconfirm --needed neovim python-neovim python-twisted
+sudo pacman -S --noconfirm --needed neovim python-neovim python-twisted
## offlineimap
echo "Install ofllineimap..."
-#sudo pacman -S --noconfirm --needed offlineimap
+sudo pacman -S --noconfirm --needed offlineimap
## vdirsyncer
echo "Install vdirsyncer..."
-#sudo pacman -S --noconfirm --needed vdirsyncer
+sudo pacman -S --noconfirm --needed vdirsyncer
echo "Install phpbrew..."
-#sudo pikaur -S --noconfirm --needed phpbrew
+sudo pikaur -S --noconfirm --needed phpbrew
echo "Install some more package..."
-#pikaur -S --noconfirm --needed zathura
-#pikaur -S --noconfirm --needed zathura-pdf-mupdf
-#pikaur -S --noconfirm --needed cava
-#pikaur -S --noconfirm --needed bpytop
+pikaur -S --noconfirm --needed zathura
+pikaur -S --noconfirm --needed zathura-pdf-mupdf
+pikaur -S --noconfirm --needed cava
+pikaur -S --noconfirm --needed bpytop
# install dotfiles
echo "install dotdrop..."
-#sudo pacman -S python-docopt
-#sudo pacman -S python-ruamel-yaml
-#sudo pacman -S python-jinja
-#./dotdrop.sh install
-#sudo ./dotdrop.sh install --cfg=system-config.yaml
+sudo pacman -S python-docopt
+sudo pacman -S python-ruamel-yaml
+sudo pacman -S python-jinja
+./dotdrop.sh install
+sudo ./dotdrop.sh install --cfg=system-config.yaml
#Fuck you, is mine
-#sudo chown -R $USER .
+sudo chown -R $USER .
# post install dotfile
@@ -273,9 +259,9 @@ echo "Change shell to zsh..."
echo "Install vim plugins..."
-#git clone https://github.com/vundlevim/vundle.vim.git ~/.config/nvim/bundle/Vundle.vim
+git clone https://github.com/vundlevim/vundle.vim.git ~/.config/nvim/bundle/Vundle.vim
-#nvim +PluginInstall +qall
+nvim +PluginInstall +qall
## notmuch
@@ -296,8 +282,8 @@ echo "Init phpbrew..."
echo "Configure zathura..."
-#sudo curl https://raw.githubusercontent.com/pwmt/zathura/develop/data/org.pwmt.zathura.desktop.in -o /usr/share/applications/zathura.desktop
-#xdg-mime default zathura.desktop application/pdf
+sudo curl https://raw.githubusercontent.com/pwmt/zathura/develop/data/org.pwmt.zathura.desktop.in -o /usr/share/applications/zathura.desktop
+xdg-mime default zathura.desktop application/pdf
echo "Configure waterfox..."
@@ -317,7 +303,7 @@ read -r -p "Would you like to install it? [y/N] " response
if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]
then
echo "Starting long install..."
- #pikaur -S --noconfirm --needed nerd-fonts-complete
+ pikaur -S --noconfirm --needed nerd-fonts-complete
else
echo "Long install canceled, if you want you can relaunch this script"
exit