add pkg installs
This commit is contained in:
parent
a1ac5a6236
commit
08dcac288c
2 changed files with 54 additions and 0 deletions
16
bin/install-pkgs
Executable file
16
bin/install-pkgs
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if ! $(is-executable yq); then
|
||||
echo "you will need to install yq"
|
||||
echo "see here for more info: https://github.com/mikefarah/yq"
|
||||
fi
|
||||
|
||||
YAMLDOC="$HOME/.dotfiles/info/pkgs.yml"
|
||||
|
||||
readarray pkgs < <(yq e '.["arch"] | .[] | ... comments=""' $YAMLDOC)
|
||||
|
||||
sudo pacman -S $(echo ${pkgs[@]})
|
||||
|
||||
readarray pkgs < <(yq e '.["aur"] | .[] | ... comments=""' $YAMLDOC)
|
||||
|
||||
paru -S $(echo ${pkgs[@]})
|
38
info/pkgs.yml
Normal file
38
info/pkgs.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
arch:
|
||||
# utils
|
||||
- zsh
|
||||
- nano
|
||||
- vim
|
||||
- curl
|
||||
- wget
|
||||
- git
|
||||
- coreutils
|
||||
- unzip
|
||||
- openssh
|
||||
- tmux
|
||||
# system
|
||||
- bluez-utils
|
||||
- dhcpcd
|
||||
# environment
|
||||
- xorg-server
|
||||
- xorg-apps
|
||||
- xorg-xinit
|
||||
- xf86-video-vesa
|
||||
- lightdm
|
||||
- rofi
|
||||
- dunst
|
||||
# tools
|
||||
- alacritty
|
||||
- vivaldi
|
||||
aur:
|
||||
# tools
|
||||
- visual-studio-code-bin
|
||||
# environment
|
||||
- lightdm-mini-greeter
|
||||
- leftwm
|
||||
- leftwm-theme-git
|
||||
- picom-git
|
||||
- polybar
|
||||
# fun
|
||||
- macchina
|
||||
|
Loading…
Reference in a new issue