This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/bash/module/bootstrap.sh

28 lines
658 B
Bash

# Install Cargo/Rust.
function bootstrap_rust() {
curl https://sh.rustup.rs -sSf | sh
rustup component add rust-analyzer
}
# Install TeXLive.
function bootstrap_texlive() {
cd /tmp
wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xf install-tl-unx.tar.gz
rm install-tl-unx.tar.gz
cd ./install-tl-*
./install-tl
}
# Install grub theme.
function bootstrap_grub() {
wget -O- https://github.com/shvchk/fallout-grub-theme/raw/master/install.sh | bash
echo 'GRUB_HIDDEN_TIMEOUT=' >> /etc/default/grub
grub2-mkconfig -o /etc/grub2.cfg
}
# Install ffmpeg.
function bootstrap_ffmpeg() {
flatpak install org.kde.kdenlive
}