diff options
| -rwxr-xr-x | install.sh | 12 | ||||
| -rw-r--r-- | packages.txt (renamed from yay/packages.txt) | 2 | ||||
| -rwxr-xr-x | yay/install.sh | 8 |
3 files changed, 11 insertions, 11 deletions
@@ -6,11 +6,17 @@ symlink () { ln -sfT "$@" } +install_packages() { + yay -S --needed --noconfirm \ + $(cat $1 | \ + xargs -I{} sh -c \ + "(pacman -Q {} &> /dev/null) || echo {}") +} + mkdir -p ~/bin symlink $(cd $(dirname "$0"); pwd -P) ~/.dotfiles - -# yay -~/.dotfiles/yay/install.sh +yay --save --sudo doas +install_packages ~/.dotfiles/packages.txt # alacritty symlink ~/.dotfiles/alacritty ~/.config/alacritty diff --git a/yay/packages.txt b/packages.txt index 484e839..e695d2b 100644 --- a/yay/packages.txt +++ b/packages.txt @@ -54,6 +54,7 @@ polybar-git pulseaudio python python-pip +python38 qemu qemu-arch-extra qutebrowser @@ -69,6 +70,7 @@ sxhkd tmux ttf-ms-fonts xdo +xorg-xrandr yay zeal zig diff --git a/yay/install.sh b/yay/install.sh deleted file mode 100755 index 48ee1c8..0000000 --- a/yay/install.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -yay --save --sudo doas -yay -S --needed --noconfirm \ - $(cat ~/.dotfiles/yay/packages.txt | \ - xargs -I{} sh -c \ - "(pacman -Q {} &> /dev/null) || echo {}") - |
