update default wallpaper, video config uses hdmi2
All checks were successful
Build images / Build images (push) Successful in 1h37m25s

This commit is contained in:
Cory Sanin 2025-05-07 16:47:12 -05:00
parent 3ec0a6670c
commit 31c56b594a
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
#!/bin/bash -e
echo "Setting default wallpaper"
for conf in "${ROOTFS_DIR}/etc/xdg/pcmanfm/LXDE-pi/desktop-items-"*.conf; do
sed -E 's|/usr/share/rpd-wallpaper/.+$|/usr/share/rpd-wallpaper/RPiSystem.png|' -i "$conf"
done

View File

@ -1,4 +1,4 @@
#!/bin/bash -e
echo "Setting custom cmdline"
sed -i 's/$/ video=HDMI-A-1:1920x1080M@60/' "${ROOTFS_DIR}/boot/firmware/cmdline.txt"
sed -i 's/$/ video=HDMI-A-2:1920x1080M@60/' "${ROOTFS_DIR}/boot/firmware/cmdline.txt"