Created
July 2, 2016 01:39
-
-
Save MarxBro/b03315ab2cfbb6cc8df553acf6ec62a9 to your computer and use it in GitHub Desktop.
Get 15 random wallpapers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Discreción | |
N=$RANDOM | |
NN=$(($N + 15)) | |
for i in $(seq $N $NN); do wget "https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-$i.jpg" --user-agent="Mozilla"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment