1
0
Fork 0

fixed options with space, added remove packages option

This commit is contained in:
Kim, Jimin 2021-08-18 19:04:43 +09:00
parent dab1a803bc
commit 0cc7d3c65a

View file

@ -51,6 +51,10 @@ package_install() {
pamac install "$@"
}
package_remove() {
pamac remove "$@"
}
# #################### [ DEFINING ESSENTIAL SETUP ] ####################
backup() {
@ -66,20 +70,20 @@ setup_essentials() {
}
remove_essentials() {
:
# epiphany
# gnome-color-manager
# kvantum-qt5
# totem
# steam-native
# steam-manjaro
echo "hi"
package_remove \
epiphany \
totem \
kvantum-qt5 \
gnome-color-manager \
}
# #################### [ DEFINING SETUP ] ####################
# Define instructions on how to setup applications & stuff
# future:
# hardinfo \
# llvm & lldb \
# mystiq \
# pavucontrol \
@ -381,6 +385,12 @@ setup_gsmartcontrol() {
}
setup_hardinfo() {
package_install \
hardinfo \
}
setup_inkscape() {
package_install \
inkscape \
@ -631,6 +641,7 @@ log "TEST phase complete!"
cmd=(dialog --separate-output --checklist "Select Setup Operations to perform" 20 50 5)
options=(
"remove_unnecessary_packages" "" off
"blender" "" off
"deno" "" off
"discord" "" off
@ -655,7 +666,7 @@ options=(
"vlc" "" off
"vscode" "" off
"wireshark" "" off
"wps office" "" off
"wps_office" "" off
"zoom" "" off
)
@ -663,6 +674,8 @@ choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices; do
case "$choice" in
"remove_unnecessary_packages")
remove_essentials;;
"blender")
setup_blender;;
"deno")
@ -709,7 +722,7 @@ for choice in $choices; do
setup_vscode;;
"wireshark")
setup_wireshark;;
"wps office")
"wps_office")
setup_wps_office;;
"zoom")
setup_zoom;;