meta: always use latest osu-backgrounds

No more need to manually edit this.
This commit is contained in:
Donovan Glover 2025-04-04 17:36:40 -04:00
parent 6aaa3a60c7
commit ad50c70bb7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 7 additions and 3 deletions

View File

@ -224,9 +224,11 @@ in
'' ''
#!/usr/bin/env fish #!/usr/bin/env fish
set LATEST $(ls -1 ${osu-backgrounds} | tail -n 1)
feh --bg-fill \ feh --bg-fill \
(random choice (fd . ${osu-backgrounds}/2025-04-01-Springtime-Showdown-Art-Contest-All-Entries --follow -e jpg -e png)) \ (random choice (fd . ${osu-backgrounds}/$LATEST --follow -e jpg -e png)) \
(random choice (fd . ${osu-backgrounds}/2025-04-01-Springtime-Showdown-Art-Contest-All-Entries --follow -e jpg -e png)) (random choice (fd . ${osu-backgrounds}/$LATEST --follow -e jpg -e png))
''; '';
}; };

View File

@ -320,8 +320,10 @@ in
'' ''
#!/usr/bin/env fish #!/usr/bin/env fish
set LATEST $(ls -1 ${osu-backgrounds} | tail -n 1)
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}/2025-04-01-Springtime-Showdown-Art-Contest-All-Entries --follow -e jpg -e png))" ~/.config/${setBackgroundScript} "$monitor" "$(random choice $(fd . ${osu-backgrounds}/$LATEST --follow -e jpg -e png))"
end end
''; '';
}; };