mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-21 15:53:32 +01:00
packages: update osu-backgrounds
It's that time of year again.
This commit is contained in:
parent
575455f954
commit
421d70a3d8
@ -210,8 +210,8 @@ in
|
||||
#!/usr/bin/env fish
|
||||
|
||||
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-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-10-09-Autumn-2024-Fanart-Contest-All-Entries --follow -e jpg -e png))
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -302,7 +302,7 @@ in
|
||||
#!/usr/bin/env fish
|
||||
|
||||
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
|
||||
'';
|
||||
};
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "osu-backgrounds";
|
||||
version = "2024-07-15";
|
||||
version = "2024-10-09";
|
||||
|
||||
srcs = [
|
||||
(fetchzip {
|
||||
@ -204,6 +204,13 @@ stdenvNoCC.mkDerivation {
|
||||
hash = "sha256-K2GYmjmBarJe7FDw+Hc+NIjBRAJDuobZfbFTN7KbHnM=";
|
||||
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 = ".";
|
||||
@ -216,6 +223,11 @@ stdenvNoCC.mkDerivation {
|
||||
|
||||
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
|
||||
cp -r */ $out
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user