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

2023-08-08 16:24:15 +03:00
# install Cargo/Rust.
2023-12-05 23:56:04 +03:00
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
}
# install TeXLive.
2023-12-05 23:56:04 +03:00
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
}
# install grub theme.
2023-12-05 23:56:04 +03:00
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
# install ffmpeg.
2023-12-05 23:56:04 +03:00
bootstrap_ffmpeg() {
2023-12-05 21:50:45 +03:00
flatpak install org.kde.kdenlive
2023-10-23 18:54:22 +03:00
}