commit dc3eb07d58220f1e12012e73a3fbc9c886f838cb
Author: MrJensK <jens.se@icloud.com>
AuthorDate: Thu May 14 12:06:43 2026 +0200
Commit: MrJensK <jens.se@icloud.com>
CommitDate: Thu May 14 12:06:43 2026 +0200
Add additional packages and install JetBrainsMono Nerd Font
---
install.sh | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/install.sh b/install.sh
index 22d17b3..0e9117c 100644
--- a/install.sh
+++ b/install.sh
@@ -23,7 +23,11 @@ sudo apt-get install -y \
kitty \
pipewire-audio \
alsa-utils \
- patch
+ patch \
+ wget \
+ unzip \
+ fontconfig \
+ cargo
mkdir -p "$BUILD_DIR"
cd "$BUILD_DIR"
@@ -102,6 +106,24 @@ else
echo " exec sxwm"
fi
+echo "==> Bygger och installerar bluetui..."
+rm -rf "$BUILD_DIR/bluetui"
+git clone --depth=1 https://github.com/pythops/bluetui "$BUILD_DIR/bluetui"
+cd "$BUILD_DIR/bluetui"
+cargo build --release
+sudo cp target/release/bluetui /usr/local/bin/
+cd "$BUILD_DIR"
+
+echo "==> Installerar JetBrainsMono Nerd Font..."
+FONT_DIR="$HOME/.local/share/fonts/JetBrainsMono"
+mkdir -p "$FONT_DIR"
+FONT_URL="https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zip"
+wget -q --show-progress -O /tmp/JetBrainsMono.zip "$FONT_URL"
+unzip -o /tmp/JetBrainsMono.zip -d "$FONT_DIR" '*.ttf'
+rm /tmp/JetBrainsMono.zip
+fc-cache -f
+echo " JetBrainsMono Nerd Font installerad"
+
echo "==> Konfigurerar autostart av X på TTY1..."
BASH_PROFILE="$HOME/.bash_profile"
AUTOSTART='if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then exec startx; fi'