Add /etc/skel autostart that runs plasma-apply-wallpaperimage once on first KDE login to set the Adwaita Morning wallpaper as default. Creates a marker file so it never runs again. Works for both live ISO and installed system.
18 lines
410 B
Bash
Executable File
18 lines
410 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# One-shot wallpaper setter for Antergos NeXT
|
|
# Runs at first login via autostart, then disables itself
|
|
|
|
MARKER="$HOME/.config/antergos-wallpaper-set"
|
|
|
|
if [[ -f "$MARKER" ]]; then
|
|
exit 0
|
|
fi
|
|
|
|
WALLPAPER="/usr/share/wallpapers/antergos-wallpaper/contents/images/adwaita-morning.webp"
|
|
|
|
if [[ -f "$WALLPAPER" ]]; then
|
|
plasma-apply-wallpaperimage "$WALLPAPER" 2>/dev/null
|
|
fi
|
|
|
|
touch "$MARKER"
|