-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathinstall-packages
More file actions
executable file
·58 lines (49 loc) · 1.91 KB
/
install-packages
File metadata and controls
executable file
·58 lines (49 loc) · 1.91 KB
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
57
58
#!/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 aerc weechat conky when qutebrowser
alacritty
keepassxc # Used by: aerc, weechat
python-websocket-client # Used by: weechat
python-vobject # Used by: aerc
bash-language-server lua-language-server texlab # Used by: neovim
pyright ruff python-debugpy # Used by: neovim
xorg-xinit scrot redshift mpv # Used by: awesome
xorg-xrandr # Used by: awesome conky
ueberzug # Used by: ranger
bash-completion fzf ripgrep # Used by: bash
python-adblock # Used by: qutebrowser
gtk-engine-murrine # Used by: theme
tree-sitter-grammars # Used by: neovim
shellcheck # Used by: bash-language-server
ttf-iosevka-nerd ttc-iosevka-ss09 ttc-iosevka-aile ttc-iosevka-etoile
)
AUR=(
ptpython qpdfview
# gruvbox theme
gruvbox-plus-icon-theme
colloid-gruvbox-gtk-theme-git
xcursor-simp1e-gruvbox-dark
absolutely-proprietary # Used by: conky
pandoc-bin # Used by: aerc
bash-complete-alias # Used by: bash
qt5-styleplugins # Used by: theme
dragon-drop # Used by: ranger
ltex-ls-plus-bin # Used by: neovim
physlock # Used by: awesome
)
# PIP=()
# 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 --break-system-packages
fi