fixed options with space, added remove packages option
This commit is contained in:
parent
dab1a803bc
commit
0cc7d3c65a
1 changed files with 48 additions and 35 deletions
33
setup.sh
33
setup.sh
|
@ -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;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue