Created
February 10, 2020 22:24
-
-
Save lira/f7402b6b594751c143f72257d18608cd to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
#RES=$(xdpyinfo | grep dimensions | egrep -o '([0-9]{4}x[0-9]{3,4})') | |
wget -O /tmp/wallpaper.jpg https://source.unsplash.com/2560x1080/?cityspace,space | |
wget -O /tmp/screensaver.jpg https://source.unsplash.com/2560x1080/?cityspace,space | |
gsettings set org.gnome.desktop.background picture-uri file:///tmp/wallpaper.jpg | |
gsettings set org.gnome.desktop.screensaver picture-uri file:///tmp/screensaver.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment