visual updates

This commit is contained in:
Chris Frankland-Wright 2025-06-23 16:41:28 +01:00
parent e870f6b312
commit 4a89fde3f6
4 changed files with 35 additions and 2 deletions

View file

@ -58,7 +58,7 @@ if [ ! -d "libltc" ]; then
fi
cd libltc
echo "Installing libltc build dependencies..."
echo "Preparing libltc build..."
./autogen.sh
./configure
@ -88,6 +88,39 @@ echo "Installing ltc-tools..."
sudo make install
sudo ldconfig
# ---------------------------------------------------------
# Step 7: Apply Custom Splash Screen and Wallpaper
# ---------------------------------------------------------
echo ""
echo "Step 7: Applying Timeturner visual identity..."
# Splash screen
echo "Downloading splash screen..."
sudo curl -L -o /usr/share/plymouth/themes/pix/splash.png https://raw.githubusercontent.com/cjfranko/NTP-Timeturner/master/splash.png
sudo chmod 644 /usr/share/plymouth/themes/pix/splash.png
# Wallpaper
echo "Downloading wallpaper..."
mkdir -p /home/hermione/Pictures
curl -L -o /home/hermione/Pictures/wallpaper.png https://raw.githubusercontent.com/cjfranko/NTP-Timeturner/master/wallpaper.png
chown hermione:hermione /home/hermione/Pictures/wallpaper.png
# Set LXDE wallpaper via pcmanfm config (assumes default LXDE desktop)
WALLPAPER_PATH="/home/hermione/Pictures/wallpaper.png"
CONFIG_FILE="/home/hermione/.config/pcmanfm/LXDE/desktop-items-0.conf"
mkdir -p "$(dirname "$CONFIG_FILE")"
if [ -f "$CONFIG_FILE" ]; then
sed -i "s|wallpaper=.*|wallpaper=$WALLPAPER_PATH|g" "$CONFIG_FILE"
else
echo "[*]" > "$CONFIG_FILE"
echo "wallpaper=$WALLPAPER_PATH" >> "$CONFIG_FILE"
echo "wallpaper_mode=stretch" >> "$CONFIG_FILE"
fi
chown hermione:hermione "$CONFIG_FILE"
echo "Custom splash and wallpaper applied."
# ---------------------------------------------------------
# Final Message
# ---------------------------------------------------------
@ -98,5 +131,5 @@ echo "────────────────────────
echo ""
echo "The TimeTurner is ready. But remember:"
echo "\"You must not be seen.\" Hermione Granger"
echo "Guidance provided by Luna, Department of Temporal Engineering."
echo "Visual enchantments provided by Luna, Department of Temporal Engineering."
echo ""

BIN
splash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
timeturner.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
wallpaper.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB