Skip to content

Instantly share code, notes, and snippets.

@angrykoala
Last active July 11, 2017 10:16
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save angrykoala/416a3d75c3f561c70e06 to your computer and use it in GitHub Desktop.
Save angrykoala/416a3d75c3f561c70e06 to your computer and use it in GitHub Desktop.
hasselhoffinator
#!/bin/bash
#hasselhoff attack taken to a new level
#@angrykoala
DIR=/home/$(whoami)/hasselhoff.jpg
MESSAGE="you have been hasselhoffed"
IMAGE_URL=http://www.ljpaez.es/imagen/hasselhoff.jpg
wget $IMAGE_URL -q
mv ./hasselhoff.jpg $DIR
gsettings set org.gnome.desktop.background picture-uri file://$DIR
xmessage -title "Hasselhoffinator" -center $MESSAGE -button "I Love Hasselhoff"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment