Various minor fixes
This commit is contained in:
parent
e8242b0ad0
commit
92bede480f
4 changed files with 11 additions and 7 deletions
|
@ -17,7 +17,7 @@ elif command_exists "rpm-ostree" && ! command_exists "fish"; then
|
|||
read -p "Press enter to reboot, then run do-everything.bash again"
|
||||
reboot
|
||||
elif command_exists "pacman"; then
|
||||
sudo pacman -S fish
|
||||
sudo pacman -S fish --noconfirm
|
||||
elif command_exists "zypp"; then
|
||||
# Untested
|
||||
sudo zypper install fish -y
|
||||
|
|
|
@ -4,23 +4,23 @@ command_exists() { type "$1" &>/dev/null; }
|
|||
|
||||
# on void i could totally install the nerd fonts via `xbps-install nerd-fonts-otf` but i am NOT installing an extra 1.45-ish GB of the rest of the nerd fonts along with it
|
||||
# stock firacode is available via `font-firacode` though
|
||||
sudo mkdir /usr/share/fonts/firacode
|
||||
mkdir -p ~/.local/share/fonts/firacode
|
||||
mkdir ./tmp-fonts
|
||||
cd ./tmp-fonts
|
||||
|
||||
curl $(curl -s https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest | grep "browser_download_url.*FiraCode.zip" | cut -d : -f 2,3 | tr -d \") -LO
|
||||
unzip FiraCode.zip
|
||||
sudo mv FiraCodeNerdFont*.ttf /usr/share/fonts/firacode/
|
||||
mv FiraCodeNerdFont*.ttf ~/.local/share/fonts/firacode/
|
||||
|
||||
if command_exists "xbps-install"; then
|
||||
sudo xbps-install font-atkinson-hyperlegible-otf
|
||||
else
|
||||
sudo mkdir /usr/share/fonts/atkinson-hyperlegible
|
||||
mkdir -p ~/.local/share/fonts/atkinson-hyperlegible
|
||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Regular.ttf
|
||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Bold.ttf
|
||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Italic.ttf
|
||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-BoldItalic.ttf
|
||||
sudo mv AtkinsonHyperlegible*.ttf /usr/share/fonts/atkinson-hyperlegible/
|
||||
mv AtkinsonHyperlegible*.ttf ~/.local/share/fonts/atkinson-hyperlegible/
|
||||
fi
|
||||
|
||||
cd -
|
||||
|
|
|
@ -14,7 +14,11 @@ if command_exists "apt-get"; then
|
|||
sudo apt-get install kitty -y
|
||||
echo "Please install SchildiChat, nvim/neovim"
|
||||
elif command_exists "dnf"; then
|
||||
sudo dnf install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup clippy p7zip mosh krita podman podman-docker podman-compose gajim schildichat-desktop progress yt-dlp genisoimage zstd iperf3 -y
|
||||
sudo dnf install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup clippy p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 keepassxc python3-pip -y
|
||||
|
||||
# Install schildichat-desktop
|
||||
# should be in my repo, but this works as both a fallback, and is faster than downloading from my repo - updates will come from my repo, though
|
||||
sudo dnf install $(curl -s https://api.github.com/repos/SchildiChat/schildichat-desktop/releases/latest | grep "browser_download_url.*schildichat-desktop-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \" | tr -d ' ')
|
||||
|
||||
# Install Prism Launcher
|
||||
sudo dnf copr enable g3tchoo/prismlauncher
|
||||
|
|
|
@ -13,7 +13,7 @@ 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
|
||||
sudo dnf install appimagelauncher qt5-qtbase-gui lutris protontricks -y
|
||||
mkdir $HOME/Applications
|
||||
cd $HOME/Applications
|
||||
curl -LO $(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 \") -C -
|
||||
|
|
Loading…
Reference in a new issue