REF make script easier to read
This commit is contained in:
parent
76d09200a5
commit
7bf89de504
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue