8 lines
364 B
Bash
8 lines
364 B
Bash
#!/bin/bash
|
|
# One-shot: set desktop wallpaper to splash image, then remove self. Runs as user pi at first login.
|
|
export DISPLAY=:0
|
|
sleep 8
|
|
WALLPAPER="/usr/share/rpd-wallpaper/splash.png"
|
|
[[ -f "$WALLPAPER" ]] && plasma-apply-wallpaperimage "$WALLPAPER" 2>/dev/null || true
|
|
rm -f /home/pi/.config/autostart/set-wallpaper-once.desktop /home/pi/set-wallpaper-once.sh
|