mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-18 23:56:55 +02:00
meta: always use latest osu-backgrounds
No more need to manually edit this.
This commit is contained in:
parent
6aaa3a60c7
commit
ad50c70bb7
@ -224,9 +224,11 @@ in
|
||||
''
|
||||
#!/usr/bin/env fish
|
||||
|
||||
set LATEST $(ls -1 ${osu-backgrounds} | tail -n 1)
|
||||
|
||||
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}/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}/$LATEST --follow -e jpg -e png))
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -320,8 +320,10 @@ in
|
||||
''
|
||||
#!/usr/bin/env fish
|
||||
|
||||
set LATEST $(ls -1 ${osu-backgrounds} | tail -n 1)
|
||||
|
||||
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
|
||||
'';
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user