51 lines
1.8 KiB
Cheetah
51 lines
1.8 KiB
Cheetah
{{- if eq .chezmoi.osRelease.idLike "arch" -}}
|
|
#!/bin/bash
|
|
|
|
# Common packages
|
|
# ## yay => Use to install AUR packages | Used by (Here in below)
|
|
# ## keepassxc => Use to manage keepassxc
|
|
# ## Gnome keyring => Use to manage ssh keys, app keys, gpg, ...
|
|
packages=(curl git gitui yay keepassxc gnome-keyring)
|
|
# ## falchion-shutdown | My custom AUR packages to avoid shutdown my computer when keyboard is sleeping
|
|
# ## nerd-fonts-complete | To install my preferred fonts :)
|
|
aur_packages=(falchion-shutdown nerd-fonts-complete spotify emacs-ng)
|
|
|
|
# For terminal
|
|
# ## kitty => Terminal emulator like alacritty but it look more powerfull so it can replace alacritty and tmux in future
|
|
# ## viu => Terminal image viewer compatible with kitty
|
|
# ## tmux
|
|
# ## zsh
|
|
packages+=(kitty viu tmux fish fzf)
|
|
|
|
# For development
|
|
# ## Modern replacement of vim with lua support
|
|
# ## python-neovim => Required by neovim with current config
|
|
# ## xclip => Required by neovim with current config to sync clipboard between neovim and system
|
|
# ## ripgrep => Required by neovim with current config
|
|
# ## rust-analyzer => Use in replacement of RLS | Used by (emacs-ng + neovim + vscode if installed)
|
|
packages+=(neovim xclip python-neovim ripgrep rust-analyzer)
|
|
|
|
{{ if eq .wm "i3wm" }}
|
|
{{- template "i3wm_before" -}}
|
|
{{ else if eq .wm "gnome" }}
|
|
{{- template "gnome_before" -}}
|
|
{{ end }}
|
|
|
|
sudo pacman -S ${packages[@]} --noconfirm --needed
|
|
yay -S ${aur_packages[@]} --noconfirm --needed
|
|
|
|
if [ ! -d ~/.tmux/plugins/tpm ]; then
|
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
|
fi
|
|
|
|
if [ ! -d ~/.local/share/omf ]; then
|
|
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
|
|
fi
|
|
|
|
{{ if eq .wm "i3wm" }}
|
|
{{- template "i3wm_after" -}}
|
|
{{ else if eq .wm "gnome" }}
|
|
{{- template "gnome_after" -}}
|
|
{{ end }}
|
|
|
|
{{- end -}}
|