Skip to content

Commit

Permalink
Version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpob99 committed Aug 20, 2017
1 parent 2e73f0d commit 3cd89ff
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nasa-wallpaper
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
echo -e "Copyright 2017 David Población Criado"
echo -e "Apache License, Version 2.0\n"
API_KEY="Z1an39TefCytrrClcLSxNGJDGwv09QLHD6zo74R8"
VERSION="1.0"
VERSION="1.1"
if [ ! -d "$HOME/.nasa-wallpaper/" ]; then
mkdir $HOME/.nasa-wallpaper/
fi
Expand Down
75 changes: 75 additions & 0 deletions nasa-wallpaper.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
.\" Manpage for nasa-wallpaper.
.TH man 1 "20 Aug 2017" "1.1" "nasa-wallpaper"
.SH NAME
nasa-wallpaper
.SH SYNOPSIS
nasa-wallpaper <secondary options> [-T TARGET] [main options]
.SH DESCRIPTION
nasa-wallpaper is shell program which allows users to change the desktop wallpaper with NASA photographs. If there are more than one photo withe the given options, it will choose a random one.
.SH TARGET
Use gnome, cinnamon, lxde, xfce, mate or feh according with your desktop enviroment.
.SH MAIN OPTIONS
.B -a
Use the APOD (Astronomical Picture of the Day). https://apod.nasa.gov/apod/

.B -n
Use the NASA Image Library. https://images.nasa.gov/

.B -v
Print the version number.

.B -r
Delete cache saved in $HOME/.nasa-wallpaper.

.SH SECONDARY OPTIONS
.B FOR THE APOD IMAGE (-a):
.IP -d [YYYY-MM-DD]
Select the date you want to use the APOD of that day.

.IP -k [API_KEY]
Change the dafault API key. You can get one in https://api.nasa.gov/index.html#apply-for-an-api-key

.PP
.B FOR THE NASA IMAGE (-n):
.IP -c [CENTER]
Select the NASA center which published the media.

.IP -p [PHOTOGRAPHER]
Select the primary photographer's name.

.IP -P [SECONDARY_CREATOR]
Select A secondary photographer's name.

.IP -y [YYYY]
Select the start year for results.

.IP -Y [YYYY]
Select the end year for results.

.IP -e [EXPLANATION]
Search words in the picture's explanation. If there is more than one word, use quotes.

.IP -E [SECONDARY_EXPLANATION]
Just another explanation field.

.IP -w [KEYWORDS]
Search words in the picture's keywords. If there is more than one word, use commas. DO NOT use spaces.

.IP -i [NASA_ID]
Select the picture's NASA ID.

.IP -q [GENERAL_SEARCH]
Free text search terms to compare to all indexed metadata.

.IP -l [LOCATION]
Search the place where the photo was taken.

.IP -t [TITLE]
Search words in the title field. DO NOT use spaces.

.SH SEE ALSO
jq,curl,wget
.SH BUGS
No known bugs.
.SH AUTHOR
David Población Criado ([email protected])
Binary file modified nasa-wallpaper.1.gz
Binary file not shown.

0 comments on commit 3cd89ff

Please sign in to comment.