rofi-extras/scripts/runtime_pkgs

35 lines
787 B
Plaintext
Raw Normal View History

#!/bin/bash
# Show the Pacman/AUR packages necessary for various components in this repo.
# NOTE: this does not list the build dependencies (x11 and friends)
pkgs=(rofi)
while [ "$#" -gt 0 ]; do
case "$1" in
-a|--autorandr)
2022-07-31 23:12:53 -04:00
pkgs+=(autorandr)
;;
-b|--bitwarden)
2022-07-31 23:12:53 -04:00
pkgs+=(bitwarden-cli libnotify)
;;
-d|--devices)
2022-07-31 23:12:53 -04:00
pkgs+=(udisks2 cifs-utils veracrypt sshfs jmtpfs libnotify libsecret)
;;
-B|--bluetooth)
2022-07-31 23:12:53 -04:00
pkgs+=(bluez)
;;
-e|--expressvpn)
2022-07-31 23:12:53 -04:00
pkgs+=(expressvpn libnotify)
;;
*)
echo "unknown option: $1"
exit 1
;;
esac
shift
done
echo "${pkgs[@]}" | tr ' ' '\n' | sort | uniq