Created
August 28, 2018 20:28
-
-
Save brovador/ac016ec34345423a51c529fb0d7b8d31 to your computer and use it in GitHub Desktop.
bitbar plugin to refresh background using national geographic wallpaper generator
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
#!/usr/bin/env bash | |
BASEDIR=$(dirname "$0") | |
export PATH=/usr/local/bin:$PATH | |
echo "[]" | |
{ | |
pushd $BASEDIR/national-geographic-wallpapers | |
phantomjs generate-wallpaper.js | |
setwp --center --color=000000 background.png | |
popd | |
} &> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment