Skip to content

Commit

Permalink
Use Unsplash daily wallpaper
Browse files Browse the repository at this point in the history
thanks to @SpeedPartner
  • Loading branch information
MkQtS authored Apr 10, 2023
1 parent 1096675 commit 7c2bf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/usr/libexec/argon/online_wallpaper
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fetch_pic_url() {
;;
unsplash)
curl --fail --show-error --max-time 1 \
"https://source.unsplash.com/random/1920x1080" 2>/dev/null |
"https://source.unsplash.com/1920x1080/daily?wallpapers" 2>/dev/null |
sed -E 's#^.*href="([^?]+)\?.*$#\1?fm=jpg\&w=1920\&h=1080#'
;;
unsplash_*)
Expand Down

0 comments on commit 7c2bf00

Please sign in to comment.