Fixes and minor tweaks for ubuntu
This commit is contained in:
24
install.sh
24
install.sh
@@ -14,7 +14,7 @@ dialog --erase-on-exit \
|
|||||||
"1" "Update OS" "on"\
|
"1" "Update OS" "on"\
|
||||||
"2" "Copy Dotfiles" "on"\
|
"2" "Copy Dotfiles" "on"\
|
||||||
"3" "Install DWM Desktop" "off" \
|
"3" "Install DWM Desktop" "off" \
|
||||||
"4" "Install GNOME Desktop" "on" \
|
"4" "Configure GNOME (dconf)" "on" \
|
||||||
"5" "Install GitHub CLI" "off"\
|
"5" "Install GitHub CLI" "off"\
|
||||||
"6" "Install Ollama" "off"\
|
"6" "Install Ollama" "off"\
|
||||||
"7" "Install Apps (Enables Flatpak)" "on"\
|
"7" "Install Apps (Enables Flatpak)" "on"\
|
||||||
@@ -90,11 +90,10 @@ for selection in $main_menu; do
|
|||||||
# Firefox Theme
|
# Firefox Theme
|
||||||
dialog --erase-on-exit \
|
dialog --erase-on-exit \
|
||||||
--backtitle "$BACKTITLE" \
|
--backtitle "$BACKTITLE" \
|
||||||
--title "Install Firefox and the Adwaita Firefox theme?" \
|
--title "Install the Adwaita Firefox theme?" \
|
||||||
--yesno "The theme mimics GNOME Web and will be installed using the script provided by the theme on GitHub." 10 40
|
--yesno "OPEN FIREFOX AT LEAST ONCE BEFORE INSTALLING. The theme mimics GNOME Web and will be installed using the script provided by the theme on GitHub." 10 40
|
||||||
|
|
||||||
if [ "$?" -eq 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
sudo apt install -y firefox-esr
|
|
||||||
curl -s -o- https://raw.githubusercontent.com/rafaelmardojai/firefox-gnome-theme/master/scripts/install-by-curl.sh | bash
|
curl -s -o- https://raw.githubusercontent.com/rafaelmardojai/firefox-gnome-theme/master/scripts/install-by-curl.sh | bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -130,13 +129,12 @@ for selection in $main_menu; do
|
|||||||
|
|
||||||
if [ "$selection" = "4" ]; then
|
if [ "$selection" = "4" ]; then
|
||||||
clear
|
clear
|
||||||
echo "-----------------------------"
|
echo "-----------------------"
|
||||||
echo "--- Install GNOME Desktop ---"
|
echo "--- Configure GNOME ---"
|
||||||
echo "-----------------------------"
|
echo "-----------------------"
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
|
||||||
sudo apt install -y gnome-core power-profiles-daemon
|
|
||||||
dconf load -f / < ./settings.dconf
|
dconf load -f / < ./settings.dconf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -198,16 +196,6 @@ for selection in $main_menu; do
|
|||||||
app_menu=$( cat choice.tmp )
|
app_menu=$( cat choice.tmp )
|
||||||
rm choice.tmp
|
rm choice.tmp
|
||||||
|
|
||||||
dialog --erase-on-exit \
|
|
||||||
--backtitle "$BACKTITLE" \
|
|
||||||
--title "Install Discord (Flatpak) with the Vencord mod?" \
|
|
||||||
--yesno "Installs Discord and runs Vencord's update script. Select yes to repair a broken client as well." 20 60
|
|
||||||
|
|
||||||
if [ "$?" -eq 0 ]; then
|
|
||||||
flatpak install flathub com.discordapp.Discord
|
|
||||||
sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
for app in $app_menu; do
|
for app in $app_menu; do
|
||||||
echo "Installing $app..."
|
echo "Installing $app..."
|
||||||
flatpak install flathub $app
|
flatpak install flathub $app
|
||||||
|
|||||||
Reference in New Issue
Block a user