Updated scripts

This commit is contained in:
Christoffer Martinsson 2025-05-05 11:15:06 +02:00
parent 3d55d12900
commit 624cccf17b
3 changed files with 21 additions and 27 deletions

View File

@ -1,8 +1,8 @@
[font] [font]
size=12.0 size=12
[font.normal] [font.normal]
family = "CodeNewRoman Nerd Font Mono" family = "FiraCodeNerdFontMono"
style = "Regular" style = "Regular"
[colors.primary] [colors.primary]

View File

@ -48,7 +48,7 @@
#waybar { #waybar {
background: #000000; background: #000000;
color: #eeeeee; color: #eeeeee;
font-family: CodeNewRoman Nerd Font Mono; font-family: FiraCodeNerdFontMono;
font-size: 12pt; font-size: 12pt;
} }

View File

@ -175,7 +175,7 @@ sudo localectl set-locale LANG=en_US.UTF-8
# Install hyprland # Install hyprland
if [ "${ROLES[HYPERLAND]}" == "yes" ]; then if [ "${ROLES[HYPERLAND]}" == "yes" ]; then
printf -- '\033[33m Installing hyprland\n\033[37m' printf -- '\033[33m Installing hyprland\n\033[37m'
sudo pacman --noconfirm --needed -S usbutils plymouth dracut dunst hyprpaper hypridle hyprland hyprlock xdg-desktop-portal-hyprland polkit-gnome xorg-xhost gnome-keyring qt5ct qt6ct gnome-themes-extra qt5-wayland qt6-wayland lxappearance qt5-tools sudo pacman --noconfirm --needed -S usbutils plymouth dracut dunst hyprpaper hypridle hyprland hyprlock xdg-desktop-portal-hyprland polkit-gnome xorg-xhost gnome-keyring qt5ct qt6ct gnome-themes-extra qt5-wayland qt6-wayland lxappearance qt5-tools adwaita-fonts gnome-disk-utility
yay --noconfirm -S --needed --aur adwaita-qt5-git yay --noconfirm -S --needed --aur adwaita-qt5-git
yay --noconfirm -S --needed --aur adwaita-qt6-git yay --noconfirm -S --needed --aur adwaita-qt6-git
@ -233,18 +233,20 @@ fi
# Install terminal utility # Install terminal utility
if [ "${ROLES[TERMINAL]}" == "yes" ]; then if [ "${ROLES[TERMINAL]}" == "yes" ]; then
printf -- '\033[33m Installing terminal utilities\n\033[37m' printf -- '\033[33m Installing terminal utilities\n\033[37m'
sudo pacman --noconfirm --needed -S alacritty btop ranger tmux fd neovim sudo pacman --noconfirm --needed -R gnu-free-fonts
mkdir -p ~/.config/alacritty sudo pacman --noconfirm --needed -S alacritty btop ranger tmux fd neovim ttf-firacode-nerd ttf-nerd-fonts-symbols
ln -sf ~/linuxbox/config/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml
ln -sf ~/linuxbox/tmux.conf ~/.tmux.conf cargo install ripgrep eza
mkdir -p ~/.config/nvim
ln -sf ~/linuxbox/config/nvim/init.lua ~/.config/nvim/init.lua
ln -sf ~/linuxbox/clang-format ~/.clang-format
ln -sf ~/linuxbox/luacheckrc ~/.luacheckrc
cargo install tree-sitter-cli ripgrep eza
cargo install zoxide --locked cargo install zoxide --locked
cargo install starship --locked cargo install starship --locked
mkdir -p ~/.config/nvim
mkdir -p ~/.config/alacritty
ln -sf ~/linuxbox/tmux.conf ~/.tmux.conf
ln -sf ~/linuxbox/config/starship.toml ~/.config/starship.toml ln -sf ~/linuxbox/config/starship.toml ~/.config/starship.toml
ln -sf ~/linuxbox/config/nvim/init.lua ~/.config/nvim/init.lua
ln -sf ~/linuxbox/config/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml
printf -- '\033[33m Installing fzf\n\033[37m' printf -- '\033[33m Installing fzf\n\033[37m'
rm -rf ~/.fzf rm -rf ~/.fzf
@ -275,18 +277,21 @@ if [ "${ROLES[TERMINAL]}" == "yes" ]; then
ln -sf ~/linuxbox/blerc ~/.blerc ln -sf ~/linuxbox/blerc ~/.blerc
fi fi
# Install code utilie # Install code utility
if [ "${ROLES[CODE]}" == "yes" ]; then if [ "${ROLES[CODE]}" == "yes" ]; then
printf -- '\033[33m Installing code utilities\n\033[37m' printf -- '\033[33m Installing code utilities\n\033[37m'
sudo pacman --noconfirm --needed -S code gdu ruby bottom go php luarocks composer jdk-openjdk julia nodejs npm platformio-core sudo pacman --noconfirm --needed -S code gdu ruby bottom go php luarocks composer jdk-openjdk julia nodejs npm platformio-core
sudo npm install -g neovim sudo npm install -g neovim
cargo install tree-sitter-cli
ln -sf ~/linuxbox/clang-format ~/.clang-format
ln -sf ~/linuxbox/luacheckrc ~/.luacheckrc
printf -- '\033[33m Installing Rust embedded rp2040\n\033[37m' printf -- '\033[33m Installing Rust embedded rp2040\n\033[37m'
cd ~ cd ~
rustup target add thumbv6m-none-eabi rustup target add thumbv6m-none-eabi
cargo install elf2uf2-rs --locked cargo install elf2uf2-rs --locked
cargo install probe-run cargo install probe-run flip-link
cargo install flip-link
mkdir -p ~/.local/bin mkdir -p ~/.local/bin
ln -sf ~/linuxbox/pico-load.sh ~/.local/bin/pico-load ln -sf ~/linuxbox/pico-load.sh ~/.local/bin/pico-load
@ -328,17 +333,6 @@ if [ "${ROLES[DESKTOP_BASE]}" == "yes" ]; then
flatpak install -y flathub io.github.efogdev.mpris-timer flatpak install -y flathub io.github.efogdev.mpris-timer
yay --noconfirm -S --needed --aur brave-bin yay --noconfirm -S --needed --aur brave-bin
printf -- '\033[33m Installing NerdFonts\n\033[37m'
mkdir -p /home/$USER/.local/share/fonts
cd /home/$USER/.local/share/fonts
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/CodeNewRoman.zip
unzip -o CodeNewRoman.zip
rm CodeNewRoman.zip
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/NerdFontsSymbolsOnly.zip
unzip -o NerdFontsSymbolsOnly.zip
rm NerdFontsSymbolsOnly.zip
fc-cache -fv
printf -- '\033[33m Installing other fonts\n\033[37m' printf -- '\033[33m Installing other fonts\n\033[37m'
sudo pacman --noconfirm --needed -S noto-fonts poppler-data adobe-source-code-pro-fonts sudo pacman --noconfirm --needed -S noto-fonts poppler-data adobe-source-code-pro-fonts