From 4914d7fc7626fff2d96d2cc4f01677cb04ea013d Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Mon, 8 Feb 2021 21:42:09 +0100 Subject: . --- install.sh | 12 ++++++--- packages.txt | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ yay/install.sh | 8 ------ yay/packages.txt | 79 ------------------------------------------------------ 4 files changed, 90 insertions(+), 90 deletions(-) create mode 100644 packages.txt delete mode 100755 yay/install.sh delete mode 100644 yay/packages.txt diff --git a/install.sh b/install.sh index 3226105..2846c57 100755 --- a/install.sh +++ b/install.sh @@ -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/packages.txt b/packages.txt new file mode 100644 index 0000000..e695d2b --- /dev/null +++ b/packages.txt @@ -0,0 +1,81 @@ +alacritty +arandr +audacity +bspwm +calibre +chromium +clang +claws-mail +connman +connman-gtk +ctags +deno +dolphin +doxygen +drawio-desktop +feh +gcc +gcc-libs +gdb +gdb-common +git +gnupg +graphviz +htop +hunspell +hunspell-en_US +i3lock +inkscape +janet-lang +joplin-desktop +jq +kate +kicad +kicad-library +libuv +libxcb +lightdm +lightdm-gtk-greeter +lmdb +micro +musl +neovim +nerd-fonts-complete +npm +ntfs-3g +okular +opendoas +openssh +parted +pavucontrol +picom +podman +polybar-git +pulseaudio +python +python-pip +python38 +qemu +qemu-arch-extra +qutebrowser +racket +ranger +rofi +seahorse +socat +sqlite +sublime-text-dev +sudo +sxhkd +tmux +ttf-ms-fonts +xdo +xorg-xrandr +yay +zeal +zig +zsh +zsh-autosuggestions +zsh-completions +zsh-history-substring-search +zsh-syntax-highlighting 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 {}") - diff --git a/yay/packages.txt b/yay/packages.txt deleted file mode 100644 index 484e839..0000000 --- a/yay/packages.txt +++ /dev/null @@ -1,79 +0,0 @@ -alacritty -arandr -audacity -bspwm -calibre -chromium -clang -claws-mail -connman -connman-gtk -ctags -deno -dolphin -doxygen -drawio-desktop -feh -gcc -gcc-libs -gdb -gdb-common -git -gnupg -graphviz -htop -hunspell -hunspell-en_US -i3lock -inkscape -janet-lang -joplin-desktop -jq -kate -kicad -kicad-library -libuv -libxcb -lightdm -lightdm-gtk-greeter -lmdb -micro -musl -neovim -nerd-fonts-complete -npm -ntfs-3g -okular -opendoas -openssh -parted -pavucontrol -picom -podman -polybar-git -pulseaudio -python -python-pip -qemu -qemu-arch-extra -qutebrowser -racket -ranger -rofi -seahorse -socat -sqlite -sublime-text-dev -sudo -sxhkd -tmux -ttf-ms-fonts -xdo -yay -zeal -zig -zsh -zsh-autosuggestions -zsh-completions -zsh-history-substring-search -zsh-syntax-highlighting -- cgit v1.2.3-70-g09d2