improve generate pacman.lst script

This commit is contained in:
David Todd 2021-01-12 13:56:08 -06:00
parent f90f3dccda
commit 73598f29c9
2 changed files with 49 additions and 2 deletions

View File

@ -1,6 +1,11 @@
#!/bin/bash
# Exports all installed packages, including foreign ones (AUR)
# Exports all installed packages to pacman.lst. One for official
# packages, and another for any packages that come from AUR.
# This can be used as a reference, or to reinstall packages with:
# `cat pacman.lst | xargs pacman -S --needed --noconfirm`
# `cat pacman.lst | xargs pacman -S --needed --noconfirm` and
# `cat pacman_aur.lst | xargs yay -S --needed --noconfirm`
# (assuming yay is your AUR helper)
pacman -Qqe | grep -v "$(pacman -Qqm)" > pacman.lst
pacman -Qqm > pacman_aur.lst

42
pacman_aur.lst Normal file
View File

@ -0,0 +1,42 @@
aarch64-linux-musl
anydesk-bin
aqemu
bumblebee-status-git
cpuid
distrobuilder
fet.sh-git
gdrive-git
go-to-meeting-desktop
google-chrome
gprof2dot
i3-layout-manager-git
i3ipc-python-git
i3lock-fancy-git
js60
mhwd-nvidia-340xx
minecraft
ninja-bin
ntfy
open-fuse-iso
openwsman
pangox-compat
perl-uuid
python-emoji
python2-pytoml
qdirstat
remmina-plugin-rdesktop
rustscan
sblim-sfcc
spotify
step-ca-bin
step-cli-bin
surf
symlinks
vi-vim-symlink
visual-studio-code-bin
wireguard-go-git
wsmancli
xcwd-git
xdg-su
xorg-font-utils
zenmap