Files
euri-iso/iso-profiles/antergos/root-overlay/usr/local/bin/set-antergos-wallpaper.sh
T
c-ludenberg e3d35edcf7 feat: set default wallpaper on first KDE login via one-shot autostart
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.
2026-06-29 19:31:33 +02:00

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"