packages: update osu-backgrounds

It's that time of year again.
This commit is contained in:
Donovan Glover 2024-10-09 17:42:29 -04:00
parent 575455f954
commit 421d70a3d8
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 16 additions and 4 deletions

View File

@ -210,8 +210,8 @@ in
#!/usr/bin/env fish #!/usr/bin/env fish
feh --bg-fill \ feh --bg-fill \
(random choice (fd . ${osu-backgrounds}/2024-07-15-Aerial-Antics-Art-Contest-All-Entries --follow -e jpg -e png)) \ (random choice (fd . ${osu-backgrounds}/2024-10-09-Autumn-2024-Fanart-Contest-All-Entries --follow -e jpg -e png)) \
(random choice (fd . ${osu-backgrounds}/2024-07-15-Aerial-Antics-Art-Contest-All-Entries --follow -e jpg -e png)) (random choice (fd . ${osu-backgrounds}/2024-10-09-Autumn-2024-Fanart-Contest-All-Entries --follow -e jpg -e png))
''; '';
}; };

View File

@ -302,7 +302,7 @@ in
#!/usr/bin/env fish #!/usr/bin/env fish
for monitor in (hyprctl monitors -j | jq -r '.[].name') for monitor in (hyprctl monitors -j | jq -r '.[].name')
~/.config/${setBackgroundScript} "$monitor" "$(random choice $(fd . ${osu-backgrounds}/2024-07-15-Aerial-Antics-Art-Contest-All-Entries --follow -e jpg -e png))" ~/.config/${setBackgroundScript} "$monitor" "$(random choice $(fd . ${osu-backgrounds}/2024-10-09-Autumn-2024-Fanart-Contest-All-Entries --follow -e jpg -e png))"
end end
''; '';
}; };

View File

@ -6,7 +6,7 @@
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "osu-backgrounds"; pname = "osu-backgrounds";
version = "2024-07-15"; version = "2024-10-09";
srcs = [ srcs = [
(fetchzip { (fetchzip {
@ -204,6 +204,13 @@ stdenvNoCC.mkDerivation {
hash = "sha256-K2GYmjmBarJe7FDw+Hc+NIjBRAJDuobZfbFTN7KbHnM="; hash = "sha256-K2GYmjmBarJe7FDw+Hc+NIjBRAJDuobZfbFTN7KbHnM=";
stripRoot = false; stripRoot = false;
}) })
(fetchzip {
name = "2024-10-09 Autumn 2024 Fanart Contest All Entries";
url = "https://assets.ppy.sh/contests/221/Autumn2024FanartSubmissions.zip";
hash = "sha256-mHT9+nslxUDJp96gU/UjzEifG1BIOu+T4LhgN/wJDts=";
stripRoot = false;
})
]; ];
sourceRoot = "."; sourceRoot = ".";
@ -216,6 +223,11 @@ stdenvNoCC.mkDerivation {
mv $BASE/$DIR . && rm -r $BASE && mv $DIR $BASE mv $BASE/$DIR . && rm -r $BASE && mv $DIR $BASE
BASE="2024-10-09-Autumn-2024-Fanart-Contest-All-Entries"
DIR="all-ordered"
mv $BASE/$DIR . && rm -r $BASE && mv $DIR $BASE
mkdir -p $out mkdir -p $out
cp -r */ $out cp -r */ $out