-
Notifications
You must be signed in to change notification settings - Fork 7
/
install-packages
executable file
·56 lines (47 loc) · 1.83 KB
/
install-packages
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
# shellcheck disable=SC2128
###############################################################################
# Install essential packages. When this script is sourced instead of being #
# executed it only defines array variables with the packages that should be #
# installed, leaving the choice of package managers and flags to the user. #
# Optional Dependencies: sudo, pacman, yay, pip #
###############################################################################
PKG=(
awesome ranger neovim tmux ncmpcpp mutt weechat conky when
qutebrowser alacritty
keepassxc # Required by: mutt weechat
python-websocket-client # Required by: weechat
bash-language-server lua-language-server texlab pyright # Required by: neovim
python-debugpy xclip # Required by: neovim
xorg-xinit physlock scrot redshift mpv # Required by: awesome
xorg-xrandr # Required by: awesome conky
ueberzug # Required by: ranger
bash-completion fzf ripgrep # Required by: bash
python-adblock # Required by: qutebrowser
gtk-engine-murrine # Required by: theme
ttf-iosevka-nerd ttc-iosevka-ss09 ttc-iosevka-aile
)
AUR=(
ptpython qpdfview
# gruvbox theme
gruvbox-plus-icon-theme
colloid-gruvbox-gtk-theme-git
xcursor-simp1e-gruvbox-dark
absolutely-proprietary # Required by: conky
pandoc-bin mutt-ics # Required by: mutt
bash-complete-alias # Required by: bash
qt5-styleplugins # Required by: theme
dragon-drop # Required by: ranger
ltex-ls-bin # Required by: neovim
)
PIP=(
pypandoc pynliner # Required by: mutt
)
# make this script a modulino, i.e., install packages automatically when it is
# run instead of being sourced
if [[ "$BASH_SOURCE" == "$0" ]]; then
set -o errexit
sudo pacman -S --needed "${PKG[@]}"
yay -S --aur --needed --removemake "${AUR[@]}"
pip install "${PIP[@]}" --user
fi