Please bear with us as we work to restore functionality to dotfiles.org.
rndm_luser
/.xplanet/xplanet.sh
Centers the view on North America. Places the moon unrealistically close to Earth so that it appears in view.
#!/bin/bash
exec 3>&2 2>/dev/null
#unset http_proxy HTTP_PROXY
# script vars
CONF=~/.xplanet/default
KEEP=~/.xplanet/cache/$(date +%m.%d.%Y).keep
# xplanet vars
BACKGROUND=black
COLOR=darkgrey
#LAT=15
#LON=-52
LAT=30
LON=-96
ORIGIN=moon #nep
#PROJECTION=rectangular
QUALITY=100
RADIUS=28
STARFREQ=0
WAIT=300
cd ~/.xplanet
if [[ ! -e ${KEEP} ]]; then
rm cache/*.keep
~/.xplanet/download_clouds.pl
mv clouds.jpg images/
touch ${KEEP}
fi
[[ $(pgrep xplanet) ]] && killall -KILL xplanet
xplanet -config ~/.xplanet/default -background $BACKGROUND -color $COLOR -starfreq $STARFREQ -quality $QUALITY -radius $RADIUS -wait $WAIT -origin $ORIGIN --vroot -longitude $LON -latitude $LAT -projection $PROJECTION & #random