From d437801cf87fda87f2855fd391994070075f99a4 Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Wed, 29 Jan 2025 23:55:16 -0300 Subject: [PATCH] feat: add automatic wallpaper changing by month from achillobator --- build_files/base/05-override-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_files/base/05-override-install.sh b/build_files/base/05-override-install.sh index 97aa5a6bc40..5a6c7230418 100755 --- a/build_files/base/05-override-install.sh +++ b/build_files/base/05-override-install.sh @@ -54,6 +54,11 @@ rm -f /usr/share/pixmaps/faces/* || echo "Expected directory deletion to fail" mv /usr/share/pixmaps/faces/bluefin/* /usr/share/pixmaps/faces rm -rf /usr/share/pixmaps/faces/bluefin +# Automatic wallpaper changing by month +HARDCODED_RPM_MONTH="12" +sed -i "/picture-uri/ s/${HARDCODED_RPM_MONTH}/$(date +%m)/" "/usr/share/glib-2.0/schemas/zz0-bluefin-modifications.gschema.override" +glib-compile-schemas /usr/share/glib-2.0/schemas + rpm-ostree override remove fedora-logos --install=bluefin-logos # Consolidate Just Files