Skip to content

Commit 5904077

Browse files
authored
chore: make default wallpaper(s) referenceable with a directory (#131)
This is nice to have for plasma-setup so we can reference whatever the default wallpaper is more easily and not hardcode things when possible. This is also expandable if we ever have a dark and light variant for example.
1 parent dd0d32d commit 5904077

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Containerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ RUN set -xeuo pipefail && \
2121

2222
# Here we set our default wallpaper
2323
RUN set -xeuo pipefail && \
24-
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-11/contents/images/3840x2160.jxl /out/wallpapers/usr/share/backgrounds/default.jxl && \
25-
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-11/contents/images/3840x2160.jxl /out/wallpapers/usr/share/backgrounds/default-dark.jxl && \
24+
REV=11 && \
25+
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-"${REV}"/contents/images/3840x2160.jxl /out/wallpapers/usr/share/backgrounds/default.jxl && \
26+
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-"${REV}"/contents/images/3840x2160.jxl /out/wallpapers/usr/share/backgrounds/default-dark.jxl && \
27+
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora-wallpaper-"${REV}"/contents /out/wallpapers/usr/share/wallpapers/Aurora && \
2628
ln -sr /out/wallpapers/usr/share/backgrounds/aurora/aurora.xml /out/wallpapers/usr/share/backgrounds/default.xml
2729

2830
RUN set -xeuo pipefail && \

0 commit comments

Comments
 (0)