#!/usr/bin/env bash
set -eou pipefail
sudo bash -c 'echo $(pacman -Qqe) | tr " " "\n" | sort > /packages.txt'