mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
visual updates
This commit is contained in:
parent
e870f6b312
commit
4a89fde3f6
4 changed files with 35 additions and 2 deletions
37
setup.sh
37
setup.sh
|
|
@ -58,7 +58,7 @@ if [ ! -d "libltc" ]; then
|
||||||
fi
|
fi
|
||||||
cd libltc
|
cd libltc
|
||||||
|
|
||||||
echo "Installing libltc build dependencies..."
|
echo "Preparing libltc build..."
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure
|
./configure
|
||||||
|
|
||||||
|
|
@ -88,6 +88,39 @@ echo "Installing ltc-tools..."
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo ldconfig
|
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
|
# Final Message
|
||||||
# ---------------------------------------------------------
|
# ---------------------------------------------------------
|
||||||
|
|
@ -98,5 +131,5 @@ echo "────────────────────────
|
||||||
echo ""
|
echo ""
|
||||||
echo "The TimeTurner is ready. But remember:"
|
echo "The TimeTurner is ready. But remember:"
|
||||||
echo "\"You must not be seen.\" – Hermione Granger"
|
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 ""
|
echo ""
|
||||||
|
|
|
||||||
BIN
splash.png
Normal file
BIN
splash.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
BIN
timeturner.jpg
Normal file
BIN
timeturner.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
BIN
wallpaper.png
Normal file
BIN
wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 271 KiB |
Loading…
Add table
Add a link
Reference in a new issue