1
0
Fork 0

install: add packages

This commit is contained in:
Vladimír Dudr 2024-10-18 08:32:28 +02:00
parent 467ad1935c
commit b8f3099286

View file

@ -1,14 +1,16 @@
#!/bin/zsh
set +x
#!/bin/bash
set -x
typeset -a packages
packages=(
# ttf-ms-fonts
aerc
bat
broot
btop
buildah
cmus
devtools
direnv
dos2unix
dunst
fd
@ -16,7 +18,7 @@ packages=(
fzf
gimp
git
gopls
gopass
handlr
helvum
herbstluftwm
@ -29,21 +31,20 @@ packages=(
lazygit
libreoffice-fresh
maim
man-db
mc
mixxx
mpv
msmtp
msmtp-mta
mtr
neovim
nix
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
openssh
pass
pdfjs
php
php-legacy
picom
pipewire
pipewire-alsa
pipewire-jack
@ -63,15 +64,43 @@ packages=(
slock
the_silver_searcher
ttf-hack
# ttf-ms-fonts
ttf-nerd-fonts-symbols
ttf-nerd-fonts-symbols-mono
vim
visidata
wget
xclip
xorg-xrandr
xsv
zathura
zsh
go
nodejs
unzip
recordmydesktop
)
sudo pacman -Syu --needed $packages
sudo pacman -Syu --needed "${packages[@]}"
# aur: rofi-greenclip
if ! pacman -Qi paru &>/dev/null
then
wget -O /tmp/paru.tar.gz https://aur.archlinux.org/cgit/aur.git/snapshot/paru.tar.gz
cd /tmp
mkdir paru
bsdtar -C paru --strip-components=1 -xf paru.tar.gz
cd paru
makepkg -si
sudo sh <<PARU
cat >> /etc/pacman.conf <<END
[paru]
SigLevel = PackageOptional DatabaseOptional
Server=file:///var/lib/repo/aur
END
PARU
paru -Ly
fi
paru -Syu rofi-greenclip neovim-git volantes-cursors pinentry-rofi lemonbar-xft-git