Last active
October 9, 2022 12:47
-
-
Save SajadJalilian/619bca429802cf0a81f61edc56ef543b to your computer and use it in GitHub Desktop.
This script gets random image from "unsplash.it" and set it as linux wallpaper
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 | |
echo "Geting new wallpaper from unsplash.it" | |
wget -O /tmp/wallpaper.jpg https://unsplash.it/2560/1440/?random | |
echo "Setting as lunux wallpaper" | |
gsettings set org.gnome.desktop.background picture-uri "file:///tmp/wallpaper.jpg" | |
echo "Done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment