Compare commits
No commits in common. "f95c122e7088fda09b596ac3455a62a0f6ea785e" and "2b9c0a8d6ccdf0890a93574c45bbb61c6a05a766" have entirely different histories.
f95c122e70
...
2b9c0a8d6c
14 changed files with 28 additions and 164 deletions
|
@ -1,8 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# Exit if there's an error
|
||||||
|
set -e
|
||||||
# Modify constants as needed
|
# Modify constants as needed
|
||||||
|
GITEA_URL="https://git.askiiart.net"
|
||||||
GIT_NAME="askiiart"
|
GIT_NAME="askiiart"
|
||||||
GIT_EMAIL="dev@askiiart.net"
|
GIT_EMAIL="dev@askiiart.net"
|
||||||
KEY_ID="CFCF6723A8ED791C5FD25CB5858969DCCC2E792D"
|
KEY_ID="02EFA1CE3C3E4AAD7A863AB8ED24985CA884CD61"
|
||||||
|
|
||||||
# Note: This waits until enter is pressed
|
# Note: This waits until enter is pressed
|
||||||
# read -p "Press Enter to continue" < /dev/tty
|
# read -p "Press Enter to continue" < /dev/tty
|
||||||
|
@ -18,10 +21,6 @@ if command_exists "apt-get"; then
|
||||||
sudo apt-get install git -y
|
sudo apt-get install git -y
|
||||||
elif command_exists "yum"; then
|
elif command_exists "yum"; then
|
||||||
sudo yum install git -y
|
sudo yum install git -y
|
||||||
elif command_exists "rpm-ostree" && ! command_exists "git"; then
|
|
||||||
rpm-ostree install git -y
|
|
||||||
read -p "Press enter to reboot, then run do-everything.bash again"
|
|
||||||
reboot
|
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
sudo pacman -S git --noconfirm --needed
|
sudo pacman -S git --noconfirm --needed
|
||||||
elif command_exists "zypp"; then
|
elif command_exists "zypp"; then
|
||||||
|
@ -30,8 +29,6 @@ elif command_exists "emerge"; then
|
||||||
sudo echo Not yet supported, exiting...
|
sudo echo Not yet supported, exiting...
|
||||||
elif command_exists "apk"; then
|
elif command_exists "apk"; then
|
||||||
sudo apk add git
|
sudo apk add git
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
sudo xbps-install git
|
|
||||||
else
|
else
|
||||||
echo "Unsupported: unknown package manager and distro"
|
echo "Unsupported: unknown package manager and distro"
|
||||||
fi
|
fi
|
||||||
|
@ -44,9 +41,6 @@ git config --global user.email "${GIT_EMAIL}"
|
||||||
git config --global commit.gpgsign true
|
git config --global commit.gpgsign true
|
||||||
git config --global user.signingkey ${KEY_ID}
|
git config --global user.signingkey ${KEY_ID}
|
||||||
|
|
||||||
# other git settings
|
|
||||||
git config --global init.defaultBranch main
|
|
||||||
|
|
||||||
# From https://superuser.com/a/954639
|
# From https://superuser.com/a/954639
|
||||||
# Archived at https://web.archive.org/web/20230606153856/https://superuser.com/a/954639
|
# Archived at https://web.archive.org/web/20230606153856/https://superuser.com/a/954639
|
||||||
echo Fixing .gnupg/ permissions
|
echo Fixing .gnupg/ permissions
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
if [ $(whoami) == "root" ]; then
|
if [ $(whoami) == "root" ]; then
|
||||||
echo "Run as a normal user, not root"
|
echo "Run as a normal user, not root"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -9,18 +10,10 @@ command_exists() { type "$1" &>/dev/null; }
|
||||||
if command_exists "apt-get"; then
|
if command_exists "apt-get"; then
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install curl -y
|
sudo apt install curl -y
|
||||||
|
|
||||||
elif command_exists "dnf"; then
|
elif command_exists "dnf"; then
|
||||||
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
||||||
sudo dnf remove libreoffice* atril -y
|
sudo dnf remove libreoffice* atril -y
|
||||||
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y
|
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||||
|
|
||||||
elif command_exists "rpm-ostree"; then
|
|
||||||
sudo wget https://askiiart.net/repos/fedora/x86_64/askiiart.repo -O /etc/yum.repos.d/askiiart.repo
|
|
||||||
rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y
|
|
||||||
sudo rpm-ostree apply-live --allow-replacement
|
|
||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
||||||
|
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
WD=$(pwd)
|
WD=$(pwd)
|
||||||
sudo pacman -S --noconfirm --needed git base-devel
|
sudo pacman -S --noconfirm --needed git base-devel
|
||||||
|
@ -29,31 +22,15 @@ elif command_exists "pacman"; then
|
||||||
makepkg -si
|
makepkg -si
|
||||||
cd $WD
|
cd $WD
|
||||||
rm -rf yay
|
rm -rf yay
|
||||||
# get fast arch mirrors
|
|
||||||
yay -S rate-mirrors-bin
|
|
||||||
rate-mirrors --disable-comments-in-file --entry-country=US --protocol=https arch --max-delay 7200 | sudo tee /etc/pacman.d/mirrorlist
|
|
||||||
yay -S noto-fonts-emoji --noconfirm --needed
|
yay -S noto-fonts-emoji --noconfirm --needed
|
||||||
|
sudo mkdir /usr/share/fonts/meslolgs
|
||||||
|
yay -S ttf-meslo-nerd-font-powerlevel10k --noconfirm --needed
|
||||||
elif command_exists "zypp"; then
|
elif command_exists "zypp"; then
|
||||||
echo "not yet implemented"
|
echo "not yet implemented"
|
||||||
|
|
||||||
elif command_exists "emerge"; then
|
elif command_exists "emerge"; then
|
||||||
echo "not yet implemented"
|
echo "not yet implemented"
|
||||||
|
|
||||||
elif command_exists "apk"; then
|
elif command_exists "apk"; then
|
||||||
echo "not yet implemented"
|
echo "not yet implemented"
|
||||||
|
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
sudo xbps-install NetworkManager dbus polkit polkit-gnome nano noto-fonts-emoji noto-fonts-cjk python3 python3-pip
|
|
||||||
mkdir ~/Applications
|
|
||||||
cd ~/Applications
|
|
||||||
curl -LO $(curl -s https://api.github.com/repos/TheAssassin/AppImageLauncher/releases/latest | grep "browser_download_url.*appimagelauncher-lite.*-x86_64.AppImage" | cut -d : -f 2,3 | tr -d \") -C -
|
|
||||||
chmod +x appimagelauncher-lite*-x86_64.AppImage
|
|
||||||
cd -
|
|
||||||
echo "AppImageLauncher is in ~/Applications, deal with it yourself or update this script"
|
|
||||||
sudo xbps-install void-repo-multilib void-repo-nonfree
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Unsupported: unknown package manager and distro"
|
echo "Unsupported: unknown package manager and distro"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
command_exists() { type "$1" &>/dev/null; }
|
|
||||||
|
|
||||||
chmod 700 ./distro-specific.bash
|
chmod 700 ./distro-specific.bash
|
||||||
./distro-specific.bash
|
./distro-specific.bash
|
||||||
|
@ -12,6 +10,7 @@ cd ..
|
||||||
|
|
||||||
cd install-stuff/
|
cd install-stuff/
|
||||||
chmod 700 ./*.bash
|
chmod 700 ./*.bash
|
||||||
|
./install-vesktop.bash
|
||||||
./install-claws-mail.bash
|
./install-claws-mail.bash
|
||||||
./install-fish.bash
|
./install-fish.bash
|
||||||
./install-librewolf.bash
|
./install-librewolf.bash
|
||||||
|
@ -19,17 +18,10 @@ chmod 700 ./*.bash
|
||||||
./install-qemu-libvirt.bash
|
./install-qemu-libvirt.bash
|
||||||
./install-steam.bash
|
./install-steam.bash
|
||||||
./install-vs-code.bash
|
./install-vs-code.bash
|
||||||
./install-fonts.bash
|
|
||||||
./install-yt-music.bash
|
./install-yt-music.bash
|
||||||
./install-vesktop.bash
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd ./dotfiles
|
cd ./dotfiles
|
||||||
chmod 700 restore.sh
|
chmod 700 restore.sh
|
||||||
./restore.sh
|
./restore.sh
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
if command_exists "rpm-ostree"; then
|
|
||||||
read -p "Press enter to reboot"
|
|
||||||
reboot
|
|
||||||
fi
|
|
2
dotfiles
2
dotfiles
|
@ -1 +1 @@
|
||||||
Subproject commit 3110da2e40b77caf275c95b368ab97d47982faa4
|
Subproject commit 274c0a37d3669c18d73ecb5510b7778992cdaa51
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
EDITOR=nano
|
||||||
|
|
||||||
if [ $(whoami) == "root" ]; then
|
if [ $(whoami) == "root" ]; then
|
||||||
echo "Run as a normal user, not root"
|
echo "Run as a normal user, not root"
|
||||||
|
@ -8,7 +9,8 @@ fi
|
||||||
command_exists() { type "$1" &>/dev/null; }
|
command_exists() { type "$1" &>/dev/null; }
|
||||||
|
|
||||||
if command_exists "yay"; then
|
if command_exists "yay"; then
|
||||||
yay -S claws-mail python-gpgme nuspell aspell aspell-en spamassassin
|
yay -S claws-mail python-gpgme nuspell aspell aspell-en
|
||||||
|
yay -S spamassassin
|
||||||
sudo systemctl enable --now spamassassin.service
|
sudo systemctl enable --now spamassassin.service
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://git.askiiart.net/askiiart/gpg-email-helper
|
git clone https://git.askiiart.net/askiiart/gpg-email-helper
|
||||||
|
@ -19,21 +21,6 @@ elif command_exists "dnf"; then
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://git.askiiart.net/askiiart/gpg-email-helper
|
git clone https://git.askiiart.net/askiiart/gpg-email-helper
|
||||||
cd -
|
cd -
|
||||||
elif command_exists "rpm-ostree"; then
|
|
||||||
if ! command_exists "spamassassin"; then
|
|
||||||
rpm-ostree install spamassassin claws-mail claws-mail-plugins-pgp claws-mail-plugins-spamassassin claws-mail-plugins-rssyl
|
|
||||||
read -p "Press enter to reboot, then run do-everything.bash again"
|
|
||||||
reboot
|
|
||||||
else
|
|
||||||
sudo systemctl enable --now spamassassin.service
|
|
||||||
cd ~
|
|
||||||
git clone https://git.askiiart.net/askiiart/gpg-email-helper
|
|
||||||
cd -
|
|
||||||
fi
|
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
sudo xbps-install claws-mail spamassassin
|
|
||||||
ln -s /etc/sv/spamd /var/service/
|
|
||||||
sv start spamd
|
|
||||||
else
|
else
|
||||||
echo "IDK"
|
echo "IDK"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -12,12 +12,8 @@ if command_exists "apt-get"; then
|
||||||
sudo apt-get install fish -y
|
sudo apt-get install fish -y
|
||||||
elif command_exists "yum"; then
|
elif command_exists "yum"; then
|
||||||
sudo yum install fish -y
|
sudo yum install fish -y
|
||||||
elif command_exists "rpm-ostree" && ! command_exists "fish"; then
|
|
||||||
rpm-ostree install fish -y
|
|
||||||
read -p "Press enter to reboot, then run do-everything.bash again"
|
|
||||||
reboot
|
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
sudo pacman -S fish
|
yay -S fish
|
||||||
elif command_exists "zypp"; then
|
elif command_exists "zypp"; then
|
||||||
# Untested
|
# Untested
|
||||||
sudo zypper install fish -y
|
sudo zypper install fish -y
|
||||||
|
@ -26,8 +22,6 @@ elif command_exists "emerge"; then
|
||||||
exit
|
exit
|
||||||
elif command_exists "apk"; then
|
elif command_exists "apk"; then
|
||||||
sudo apk add fish
|
sudo apk add fish
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
sudo xbps-install fish-shell -y
|
|
||||||
else
|
else
|
||||||
echo "Unsupported: unknown package manager and distro"
|
echo "Unsupported: unknown package manager and distro"
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
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
|
sudo mkdir /usr/share/fonts/firacode
|
||||||
mkdir ./tmp-fonts
|
mkdir ./tmp-fonts
|
||||||
cd ./tmp-fonts
|
cd ./tmp-fonts
|
||||||
|
@ -12,16 +8,12 @@ curl $(curl -s https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest
|
||||||
unzip FiraCode.zip
|
unzip FiraCode.zip
|
||||||
sudo mv FiraCodeNerdFont*.ttf /usr/share/fonts/firacode/
|
sudo mv FiraCodeNerdFont*.ttf /usr/share/fonts/firacode/
|
||||||
|
|
||||||
if command_exists "xbps-install"; then
|
sudo mkdir /usr/share/fonts/atkinson-hyperlegible
|
||||||
sudo xbps-install font-atkinson-hyperlegible-otf
|
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Regular.ttf
|
||||||
else
|
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Bold.ttf
|
||||||
sudo mkdir /usr/share/fonts/atkinson-hyperlegible
|
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-Regular.ttf
|
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-BoldItalic.ttf
|
||||||
curl -LO https://raw.githubusercontent.com/googlefonts/atkinson-hyperlegible/main/fonts/ttf/AtkinsonHyperlegible-Bold.ttf
|
sudo mv AtkinsonHyperlegible*.ttf /usr/share/fonts/atkinson-hyperlegible/
|
||||||
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/
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
rm -rf ./tmp-fonts
|
rm -rf ./tmp-fonts
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
if [ $(whoami) == "root" ]; then
|
if [ $(whoami) == "root" ]; then
|
||||||
echo "Run as a normal user, not root"
|
echo "Run as a normal user, not root"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -31,33 +32,6 @@ elif command_exists "dnf"; then
|
||||||
rm -rf ./tmp-openh264/
|
rm -rf ./tmp-openh264/
|
||||||
echo -e "\nNow open LibreWolf, go to about:config, and set these to true:\n media.gmp-gmpopenh264.autoupdate\n media.gmp-gmpopenh264.enabled\n media.gmp-gmpopenh264.provider.enabled\n media.peerconnection.video.h264_enabled\n"
|
echo -e "\nNow open LibreWolf, go to about:config, and set these to true:\n media.gmp-gmpopenh264.autoupdate\n media.gmp-gmpopenh264.enabled\n media.gmp-gmpopenh264.provider.enabled\n media.peerconnection.video.h264_enabled\n"
|
||||||
read -p ""
|
read -p ""
|
||||||
elif command_exists "rpm-ostree"; then
|
|
||||||
if ! command_exists "librewolf"; then
|
|
||||||
sudo wget https://rpm.librewolf.net/librewolf-repo.repo -O /etc/yum.repos.d/librewolf.repo
|
|
||||||
rpm-ostree install librewolf
|
|
||||||
rpm-ostree remove firefox
|
|
||||||
read -p "Press enter to reboot, then run do-everything.bash again"
|
|
||||||
reboot
|
|
||||||
else
|
|
||||||
librewolf &
|
|
||||||
sleep 5
|
|
||||||
pkill librewolf
|
|
||||||
mkdir tmp-openh264
|
|
||||||
cd tmp-openh264
|
|
||||||
wget http://ciscobinary.openh264.org/openh264-linux64-v1.1-Firefox33.zip
|
|
||||||
rpm-ostree install unzip -y
|
|
||||||
rpm-ostree apply-live
|
|
||||||
unzip ./*.zip
|
|
||||||
for dir in $(ls -d ~/.librewolf/*/); do
|
|
||||||
mkdir -p ${dir}gmp-gmpopenh264/1.1/
|
|
||||||
cp libgmpopenh264.so ${dir}gmp-gmpopenh264/1.1/
|
|
||||||
cp gmpopenh264.info ${dir}gmp-gmpopenh264/1.1/
|
|
||||||
done
|
|
||||||
cd -
|
|
||||||
rm -rf ./tmp-openh264/
|
|
||||||
echo -e "\nNow open LibreWolf, go to about:config, and set these to true:\n media.gmp-gmpopenh264.autoupdate\n media.gmp-gmpopenh264.enabled\n media.gmp-gmpopenh264.provider.enabled\n media.peerconnection.video.h264_enabled\n"
|
|
||||||
read -p ""
|
|
||||||
fi
|
|
||||||
elif command_exists "yay"; then
|
elif command_exists "yay"; then
|
||||||
yay -S librewolf-bin
|
yay -S librewolf-bin
|
||||||
yay -R firefox
|
yay -R firefox
|
||||||
|
@ -65,14 +39,6 @@ elif command_exists "emerge"; then
|
||||||
# Untested
|
# Untested
|
||||||
sudo eselect repository add librewolf git https://codeberg.org/librewolf/gentoo.git
|
sudo eselect repository add librewolf git https://codeberg.org/librewolf/gentoo.git
|
||||||
emaint -r librewolf sync
|
emaint -r librewolf sync
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
mkdir librewolf
|
|
||||||
cd librewolf
|
|
||||||
curl $(curl -s https://api.github.com/repos/index-0/librewolf-void/releases/latest | grep "browser_download_url.*librewolf-.*.x86_64.xbps" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -LO
|
|
||||||
sudo xbps-rindex -a librewolf-*.x86_64.xbps
|
|
||||||
sudo xbps-install -R $PWD librewolf
|
|
||||||
cd -
|
|
||||||
rm -rf librewolf
|
|
||||||
else
|
else
|
||||||
echo "Figure it out yourself, or get the AppImage from here: https://gitlab.com/librewolf-community/browser/appimage/-/releases"
|
echo "Figure it out yourself, or get the AppImage from here: https://gitlab.com/librewolf-community/browser/appimage/-/releases"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -6,29 +6,19 @@ if [ $(whoami) == "root" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# only fedora is up-to-date
|
|
||||||
|
|
||||||
command_exists() { type "$1" &>/dev/null; }
|
command_exists() { type "$1" &>/dev/null; }
|
||||||
|
|
||||||
if command_exists "apt-get"; then
|
if command_exists "apt-get"; then
|
||||||
sudo apt-get install kitty -y
|
sudo apt-get install kitty -y
|
||||||
echo "Please install SchildiChat, nvim/neovim"
|
echo "Please install SchildiChat, nvim/neovim"
|
||||||
elif command_exists "dnf"; then
|
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 rust cargo clippy p7zip mosh krita podman podman-docker podman-compose gajim schildichat-desktop -y
|
||||||
|
|
||||||
# Install Prism Launcher
|
# Install Prism Launcher
|
||||||
sudo dnf copr enable g3tchoo/prismlauncher
|
sudo dnf copr enable g3tchoo/prismlauncher
|
||||||
sudo dnf install prismlauncher-qt5
|
sudo dnf install prismlauncher-qt5
|
||||||
elif command_exists "rpm-ostree"; then
|
|
||||||
rpm-ostree 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 -y --allow-inactive
|
|
||||||
|
|
||||||
# Install Prism Launcher
|
|
||||||
sudo wget https://copr.fedorainfracloud.org/coprs/g3tchoo/prismlauncher/repo/fedora-$(rpm -E %fedora)/g3tchoo-prismlauncher-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/g3tchoo-prismlauncher.repo
|
|
||||||
rpm-ostree install prismlauncher-qt5
|
|
||||||
|
|
||||||
flatpak install me.iepure.devtoolbox
|
|
||||||
elif command_exists "yay"; then
|
elif command_exists "yay"; then
|
||||||
yay -S kitty neovim gcc vlc ncdu gcolor3 rustup p7zip mosh krita podman podman-compose gajim progress yt-dlp genisoimage drawing clippy gnome-hexgl zstd iperf3 unzip schildichat-desktop-bin digikam man-db prismlauncher-qt5-bin progress --noconfirm --needed
|
yay -S kitty schildichat-desktop-bin digikam eog man-db neovim prismlauncher-qt5-bin --noconfirm --needed
|
||||||
elif command_exists "zypp"; then
|
elif command_exists "zypp"; then
|
||||||
# Untested
|
# Untested
|
||||||
sudo zypper install kitty -y
|
sudo zypper install kitty -y
|
||||||
|
@ -38,13 +28,6 @@ elif command_exists "emerge"; then
|
||||||
exit
|
exit
|
||||||
elif command_exists "apk"; then
|
elif command_exists "apk"; then
|
||||||
echo Not yet supported, exiting...
|
echo Not yet supported, exiting...
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
# missing: hexgl, drawing, clippy, schildichat, genisoimage
|
|
||||||
# not included: libfreeglut, don't think that's required
|
|
||||||
sudo xbps-install kitty neovim gcc vlc ncdu gcolor3 rustup p7zip mosh krita podman podman-compose gajim progress yt-dlp zstd iperf3 unzip
|
|
||||||
cd ~/Applications
|
|
||||||
curl -LO $(curl -s https://api.github.com/repos/SchildiChat/schildichat-desktop/releases/latest | grep "browser_download_url.*SchildiChat-.*.AppImage" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -C -
|
|
||||||
cd -
|
|
||||||
else
|
else
|
||||||
echo "Unsupported: unknown package manager and distro"
|
echo "Unsupported: unknown package manager and distro"
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -14,9 +14,8 @@ elif command_exists "yum"; then
|
||||||
sudo systemctl enable --now libvirtd.service
|
sudo systemctl enable --now libvirtd.service
|
||||||
sudo usermod -aG libvirt $(whoami)
|
sudo usermod -aG libvirt $(whoami)
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
sudo pacman -S qemu-full dnsmasq --noconfirm --needed
|
sudo pacman -S qemu-full --noconfirm --needed
|
||||||
sudo pacman -S virt-manager --noconfirm --needed
|
sudo pacman -S virt-manager --noconfirm --needed
|
||||||
sudo systemctl enable --now libvirtd.service
|
|
||||||
elif command_exists "zypp"; then
|
elif command_exists "zypp"; then
|
||||||
# Untested
|
# Untested
|
||||||
sudo zypper install qemu -y
|
sudo zypper install qemu -y
|
||||||
|
@ -27,10 +26,6 @@ elif command_exists "apk"; then
|
||||||
sudo apk add git
|
sudo apk add git
|
||||||
sudo rc-update add libvirtd
|
sudo rc-update add libvirtd
|
||||||
sudo rc-service libvirtd start
|
sudo rc-service libvirtd start
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
sudo xbps-install qemu libvirt virt-manager
|
|
||||||
sudo usermod -aG libvirt $(whoami)
|
|
||||||
sudo ln -s /etc/sv/libvirtd/ /var/service/
|
|
||||||
else
|
else
|
||||||
echo "Unsupported: unknown package manager and distro"
|
echo "Unsupported: unknown package manager and distro"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -28,12 +28,6 @@ elif command_exists "yay"; then
|
||||||
#sudo $EDITOR /etc/pacman.conf
|
#sudo $EDITOR /etc/pacman.conf
|
||||||
yay -S steam
|
yay -S steam
|
||||||
yay -S protonup-qt-bin dosbox inotify-tools timidity scummvm xdotool xwinfo yad --noconfirm --needed
|
yay -S protonup-qt-bin dosbox inotify-tools timidity scummvm xdotool xwinfo yad --noconfirm --needed
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
sudo xbps-install steam gperftools gperftools-32bit
|
|
||||||
# missing: protonup-qt
|
|
||||||
cd ~/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 -
|
|
||||||
cd -
|
|
||||||
else
|
else
|
||||||
echo "IDK"
|
echo "IDK"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -14,12 +14,8 @@ elif command_exists "yum"; then
|
||||||
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
|
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop-.*.x86_64.rpm" | head --lines 1 | cut -d : -f 2,3 | tr -d \")
|
||||||
sudo dnf install ./vesktop-*.rpm -y
|
sudo dnf install ./vesktop-*.rpm -y
|
||||||
rm ./vesktop-*.rpm
|
rm ./vesktop-*.rpm
|
||||||
elif command_exists "yay"; then
|
elif command_exists "pacman"; then
|
||||||
yay -S vesktop-bin --noconfirm --needed
|
yay -S vesktop-bin --noconfirm --needed
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
cd ~/Applications
|
|
||||||
curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*Vesktop-.*.AppImage" | tail --lines 1 | cut -d : -f 2,3 | tr -d \")
|
|
||||||
cd -
|
|
||||||
else
|
else
|
||||||
echo "IDK, check the repo: https://github.com/Vencord/Vesktop"
|
echo "IDK, check the repo: https://github.com/Vencord/Vesktop"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -9,7 +9,7 @@ command_exists() { type "$1" &>/dev/null; }
|
||||||
|
|
||||||
if command_exists "apt-get"; then
|
if command_exists "apt-get"; then
|
||||||
sudo apt-get install wget gpg
|
sudo apt-get install wget gpg
|
||||||
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >packages.microsoft.gpg
|
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
|
||||||
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
|
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
|
||||||
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
|
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
|
||||||
rm -f packages.microsoft.gpg
|
rm -f packages.microsoft.gpg
|
||||||
|
@ -34,8 +34,6 @@ elif command_exists "emerge"; then
|
||||||
elif command_exists "apk"; then
|
elif command_exists "apk"; then
|
||||||
echo Not yet supported, exiting...
|
echo Not yet supported, exiting...
|
||||||
exit
|
exit
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
sudo xbps-install vscode
|
|
||||||
else
|
else
|
||||||
echo "Unsupported: unknown package manager and distro"
|
echo "Unsupported: unknown package manager and distro"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -16,10 +16,6 @@ elif command_exists "yum"; then
|
||||||
sudo dnf install youtube-music -y
|
sudo dnf install youtube-music -y
|
||||||
elif command_exists "yay"; then
|
elif command_exists "yay"; then
|
||||||
yay -S youtube-music-bin --noconfirm --needed
|
yay -S youtube-music-bin --noconfirm --needed
|
||||||
elif command_exists "xbps-install"; then
|
|
||||||
cd ~/Applications
|
|
||||||
curl -LO $(curl -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep "browser_download_url.*YouTube-Music-.*.AppImage" | cut -d : -f 2,3 | tr -d \") -C -
|
|
||||||
cd -
|
|
||||||
else
|
else
|
||||||
echo "IDK, check the repo: https://github.com/th-ch/youtube-music"
|
echo "IDK, check the repo: https://github.com/th-ch/youtube-music"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue