REF make script easier to read

This commit is contained in:
Nathan Dwarshuis 2022-07-31 23:12:53 -04:00
parent 76d09200a5
commit 7bf89de504
1 changed files with 5 additions and 6 deletions

View File

@ -9,20 +9,19 @@ pkgs=(rofi)
while [ "$#" -gt 0 ]; do while [ "$#" -gt 0 ]; do
case "$1" in case "$1" in
-a|--autorandr) -a|--autorandr)
pkgs=("${pkgs[@]}" autorandr) pkgs+=(autorandr)
;; ;;
-b|--bitwarden) -b|--bitwarden)
pkgs=("${pkgs[@]}" bitwarden-cli libnotify) pkgs+=(bitwarden-cli libnotify)
;; ;;
-d|--devices) -d|--devices)
pkgs=("${pkgs[@]}" udisks2 cifs-utils veracrypt sshfs jmtpfs \ pkgs+=(udisks2 cifs-utils veracrypt sshfs jmtpfs libnotify libsecret)
libnotify libsecret)
;; ;;
-B|--bluetooth) -B|--bluetooth)
pkgs=("${pkgs[@]}" bluez) pkgs+=(bluez)
;; ;;
-e|--expressvpn) -e|--expressvpn)
pkgs=("${pkgs[@]}" expressvpn libnotify) pkgs+=(expressvpn libnotify)
;; ;;
*) *)
echo "unknown option: $1" echo "unknown option: $1"