From cbaa575871d90ccf6f7127c2d552f5b07b0a9700 Mon Sep 17 00:00:00 2001 From: askiiart Date: Thu, 7 Dec 2023 12:25:29 -0600 Subject: [PATCH] Fix font install, add protonup for fedora --- install-stuff/install-misc.sh | 8 +++++++- install-stuff/install-steam.bash | 3 +++ install-stuff/install-vesktop.bash | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/install-stuff/install-misc.sh b/install-stuff/install-misc.sh index dd1b2b8..4df42c0 100755 --- a/install-stuff/install-misc.sh +++ b/install-stuff/install-misc.sh @@ -8,7 +8,7 @@ fi command_exists() { type "$1" &>/dev/null; } -echo "WARNING: Only Arch is fully supported" +echo "WARNING: Only Arch and Fedora fully supported" if command_exists "apt-get"; then sudo apt-get install kitty -y @@ -33,3 +33,9 @@ else echo "Unsupported: unknown package manager and distro" exit fi + +sudo mkdir /usr/share/fonts/meslolgs +sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_regular.ttf' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_regular.ttf' +sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_bold.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_bold.ttf' +sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_italic.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_italic.ttf' +sudo curl 'https://raw.githubusercontent.com/IlanCosman/tide/assets/fonts/mesloLGS_NF_bold_italic.ttf?raw=true' -o '/usr/share/fonts/meslolgs/mesloLGS_NF_bold_italic.ttf' diff --git a/install-stuff/install-steam.bash b/install-stuff/install-steam.bash index d582156..de7ec9e 100755 --- a/install-stuff/install-steam.bash +++ b/install-stuff/install-steam.bash @@ -13,6 +13,9 @@ if command_exists "apt-get"; then sudo dpkg -i steam.deb elif command_exists "dnf"; then sudo dnf install steam -y + sudo dnf install appimagelauncher qt5-qtbase-gui -y + mkdir $HOME/Applications + curl -L $(curl -s https://api.github.com/repos/DavidoTek/ProtonUp-Qt/releases/latest | grep "browser_download_url.*ProtonUp-Qt-.*-x86_64.AppImage" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -o $HOME/Applications/ProtonUp-Qt.AppImage elif command_exists "yay"; then #printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n' #read -p "Enable the multilib repo in /etc/pacman.conf - look above" diff --git a/install-stuff/install-vesktop.bash b/install-stuff/install-vesktop.bash index cc0c7da..1e72560 100755 --- a/install-stuff/install-vesktop.bash +++ b/install-stuff/install-vesktop.bash @@ -8,7 +8,7 @@ fi command_exists() { type "$1" &>/dev/null; } if command_exists "apt-get"; then - curl $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "VencordDesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -LO + curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "VencordDesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \") sudo apt-get install ./VencordDesktop_*.deb -y elif command_exists "yum"; then curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*VencordDesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")