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
Raw Normal View History

2023-12-07 04:02:47 +03:00
# Install Cargo/Rust.
2023-12-07 01:44:42 +03:00
function bootstrap_rust() {
2023-12-05 21:50:45 +03:00
curl https://sh.rustup.rs -sSf | sh
rustup component add rust-analyzer
2023-08-08 16:24:15 +03:00
}
2023-12-07 04:02:47 +03:00
# Install TeXLive.
2023-12-07 01:44:42 +03:00
function bootstrap_texlive() {
2023-12-05 21:50:45 +03:00
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
2023-08-08 16:24:15 +03:00
}
2023-12-07 04:02:47 +03:00
# Install grub theme.
2023-12-07 01:44:42 +03:00
function bootstrap_grub() {
2023-12-05 21:50:45 +03:00
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
2023-08-08 16:24:15 +03:00
}
2023-10-23 18:54:22 +03:00
2023-12-07 04:02:47 +03:00
# Install ffmpeg.
2023-12-07 01:44:42 +03:00
function bootstrap_ffmpeg() {
2023-12-05 21:50:45 +03:00
flatpak install org.kde.kdenlive
2023-10-23 18:54:22 +03:00
}