diff --git a/do-everything.bash b/do-everything.bash index fc79fc9..db4e035 100755 --- a/do-everything.bash +++ b/do-everything.bash @@ -18,6 +18,7 @@ chmod 700 ./*.bash ./install-vs-code.bash ./install-fonts.bash ./install-yt-music.bash +./install-vesktop.sh ./install-swayfx.bash ./install-podman.sh cd .. diff --git a/install-stuff/install-misc.sh b/install-stuff/install-misc.sh index e1630a0..9958f4c 100755 --- a/install-stuff/install-misc.sh +++ b/install-stuff/install-misc.sh @@ -12,7 +12,7 @@ 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 p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 keepassxc python3-pip ffmpegthumbnailer linuxconsoletools bind-utils hyfetch fastfetch nmap unrar-free restic gparted bsdtar android-tools httpd-tools digikam edid-decode hexchat htop minetest fuse-sshfs syncthing nasm sysstat openshot HandBrake HandBrake-gui electrum feather obs-studio fuse-libs pandoc wtype fedora-packager rpmdevtools createrepo_c iotop igt-gpu-tools power-profiles-daemon solaar cavif -y + sudo dnf install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 keepassxc python3-pip ffmpegthumbnailer linuxconsoletools bind-utils hyfetch fastfetch nmap unrar-free restic gparted bsdtar android-tools httpd-tools digikam edid-decode hexchat htop minetest fuse-sshfs syncthing nasm sysstat openshot HandBrake HandBrake-gui electrum feather obs-studio fuse-libs pandoc wtype fedora-packager rpmdevtools createrepo_c iotop igt-gpu-tools power-profiles-daemon solaar -y sudo dnf install ffmpeg --allowerasing sudo systemctl enable --now syncthing@askiiart diff --git a/install-stuff/install-rust.sh b/install-stuff/install-rust.sh index 36728b0..0d78895 100755 --- a/install-stuff/install-rust.sh +++ b/install-stuff/install-rust.sh @@ -7,9 +7,10 @@ fi command_exists() { type "$1" &>/dev/null; } if command_exists "yum"; then - sudo dnf install rustup gcc -y + sudo dnf install rustup -y fish -c "rustup-init" + fish -c "cargo install cavif" sudo dnf remove rust -y elif command_exists "rpm-ostree"; then sudo wget https://askiiart.net/repos/fedora/x86_64/askiiart.repo -O /etc/yum.repos.d/askiiart.repo diff --git a/install-stuff/install-vesktop.sh b/install-stuff/install-vesktop.sh new file mode 100755 index 0000000..18d235f --- /dev/null +++ b/install-stuff/install-vesktop.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash +set -euo pipefail + +if [ $(whoami) == "root" ]; then + echo "Run as a normal user, not root" + exit 1 +fi + +command_exists() { type "$1" &>/dev/null; } + +if command_exists "apt-get"; then + curl -LO $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "vesktop_.*_amd64.deb" | head --lines 1 | cut -d : -f 2,3 | tr -d \") + sudo apt-get install ./vesktop_*.deb -y +elif command_exists "dnf"; then + sudo dnf install $(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 \") +elif command_exists "rpm-ostree"; then + rpm-ostree install $(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 \") +elif command_exists "yay"; then + 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 + echo "IDK, check the repo: https://github.com/Vencord/Vesktop" +fi