Add waifu2x. Remove echo. Fix gimp installation.
This commit is contained in:
parent
637697e2a8
commit
c46deee659
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# TODO make this work
|
# TODO make this work
|
||||||
|
# NOTE ignore errors from missing "||". Try getting the line below to work
|
||||||
#set -euo pipefail
|
#set -euo pipefail
|
||||||
|
|
||||||
#change to home (does not show in terminal)
|
#change to home (does not show in terminal)
|
||||||
@ -49,31 +50,24 @@ do
|
|||||||
case $choice in
|
case $choice in
|
||||||
1)
|
1)
|
||||||
in_firefox=1
|
in_firefox=1
|
||||||
echo Installed Firefox
|
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
in_ugchromium=1
|
in_ugchromium=1
|
||||||
echo Installed Ungoogled-Chromium
|
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
in_palemoon=1
|
in_palemoon=1
|
||||||
echo Installed Palemoon
|
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
in_basilisk=1
|
in_basilisk=1
|
||||||
echo Installed Basilisk
|
|
||||||
;;
|
;;
|
||||||
5)
|
5)
|
||||||
in_netsurf=1
|
in_netsurf=1
|
||||||
echo Installed Netsurf
|
|
||||||
;;
|
;;
|
||||||
6)
|
6)
|
||||||
in_icecat=1
|
in_icecat=1
|
||||||
echo Installed Icecat
|
|
||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
in_tor=1
|
in_tor=1
|
||||||
echo Installed Torbrowser
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -93,6 +87,7 @@ in_easystrokes=0
|
|||||||
in_liferea=0
|
in_liferea=0
|
||||||
in_mirage=0
|
in_mirage=0
|
||||||
in_bettergram=0
|
in_bettergram=0
|
||||||
|
in_waifu2x=0
|
||||||
|
|
||||||
cmd=(dialog --separate-output --checklist "Select other programs:" 22 76 16)
|
cmd=(dialog --separate-output --checklist "Select other programs:" 22 76 16)
|
||||||
options=(1 "VirtManager" off # any option can be set to default to "on"
|
options=(1 "VirtManager" off # any option can be set to default to "on"
|
||||||
@ -109,7 +104,8 @@ options=(1 "VirtManager" off # any option can be set to default to "on"
|
|||||||
12 "Easystroke" on
|
12 "Easystroke" on
|
||||||
13 "Liferea" off
|
13 "Liferea" off
|
||||||
14 "Mirage" on
|
14 "Mirage" on
|
||||||
15 "Bettergram" on)
|
15 "Bettergram" on
|
||||||
|
16 "Waifu2x" off)
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
||||||
clear
|
clear
|
||||||
for choice in $choices
|
for choice in $choices
|
||||||
@ -117,63 +113,51 @@ do
|
|||||||
case $choice in
|
case $choice in
|
||||||
1)
|
1)
|
||||||
in_virtmanager=1
|
in_virtmanager=1
|
||||||
echo Installed VirtManager
|
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
in_steam=1
|
in_steam=1
|
||||||
echo Installed Steam
|
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
in_lutris=1
|
in_lutris=1
|
||||||
echo Installed Lutris
|
|
||||||
;;
|
;;
|
||||||
4)
|
4)
|
||||||
in_blender=1
|
in_blender=1
|
||||||
echo Installed Blender
|
|
||||||
;;
|
;;
|
||||||
5)
|
5)
|
||||||
in_krita=1
|
in_krita=1
|
||||||
echo Installed Krita
|
|
||||||
;;
|
;;
|
||||||
6)
|
6)
|
||||||
in_youtubedl=1
|
in_youtubedl=1
|
||||||
echo Installed Youtube-dl
|
|
||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
in_discord=1
|
in_discord=1
|
||||||
echo Installed Discord
|
|
||||||
;;
|
;;
|
||||||
8)
|
8)
|
||||||
in_handbrake=1
|
in_handbrake=1
|
||||||
echo Installed Handbrake
|
|
||||||
;;
|
;;
|
||||||
9)
|
9)
|
||||||
sudo pacman -S --needed gimp
|
in_gimp=1
|
||||||
echo Installed Gimp
|
|
||||||
;;
|
;;
|
||||||
10)
|
10)
|
||||||
in_audacity=1
|
in_audacity=1
|
||||||
echo Installed Audacity
|
|
||||||
;;
|
;;
|
||||||
11)
|
11)
|
||||||
in_mangohud=1
|
in_mangohud=1
|
||||||
echo Installed MangoHud
|
|
||||||
;;
|
;;
|
||||||
12)
|
12)
|
||||||
in_easystrokes=1
|
in_easystrokes=1
|
||||||
echo Installed Easystroke
|
|
||||||
;;
|
;;
|
||||||
13)
|
13)
|
||||||
in_liferea=1
|
in_liferea=1
|
||||||
echo Installed Liferea
|
|
||||||
;;
|
;;
|
||||||
14)
|
14)
|
||||||
in_mirage=1
|
in_mirage=1
|
||||||
echo Installed Mirage
|
|
||||||
;;
|
;;
|
||||||
15)
|
15)
|
||||||
in_bettergram=1
|
in_bettergram=1
|
||||||
echo Installed Bettergram
|
;;
|
||||||
|
16)
|
||||||
|
in_waifu2x=1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -473,6 +457,13 @@ else
|
|||||||
echo "Skipping Bettergram"
|
echo "Skipping Bettergram"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $in_waifu2x -eq 1 ]; then
|
||||||
|
echo "Installing Waifu2x"
|
||||||
|
yay -S --needed --noconfirm waifu2x-ncnn-vulkan
|
||||||
|
else
|
||||||
|
echo "Skipping Waifu2x"
|
||||||
|
fi
|
||||||
|
|
||||||
#performance and battery life
|
#performance and battery life
|
||||||
if [ $in_acpufreq -eq 1 ]; then
|
if [ $in_acpufreq -eq 1 ]; then
|
||||||
echo "Installing auto-cpufreq"
|
echo "Installing auto-cpufreq"
|
||||||
|
Loading…
Reference in New Issue
Block a user