From 3cd89ff4cc786b05e57e83841c00281b9430ec7e Mon Sep 17 00:00:00 2001 From: davidpob99 Date: Sun, 20 Aug 2017 13:24:50 +0200 Subject: [PATCH] Version 1.1 --- nasa-wallpaper | 2 +- nasa-wallpaper.1 | 75 ++++++++++++++++++++++++++++++++++++++++++++ nasa-wallpaper.1.gz | Bin 1023 -> 1131 bytes 3 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 nasa-wallpaper.1 diff --git a/nasa-wallpaper b/nasa-wallpaper index b9ba510..f1ce3b6 100644 --- a/nasa-wallpaper +++ b/nasa-wallpaper @@ -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 diff --git a/nasa-wallpaper.1 b/nasa-wallpaper.1 new file mode 100644 index 0000000..cd3cd20 --- /dev/null +++ b/nasa-wallpaper.1 @@ -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 [-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 (david.pobcri@educa.jcyl.es) diff --git a/nasa-wallpaper.1.gz b/nasa-wallpaper.1.gz index c8d1f752d6909e0bac7f8f9f20ecc8b77f85f4c6..34f4d46d4d209585afbb8393ed9545f58f6a6e87 100644 GIT binary patch literal 1131 zcmV-x1eE(9iwFQnahX{F1MODbZsJB1&b6Q7D6P~)0tb?8BCV>bUhoFCfGzB(MQ#)g z_5@~Q&p6`&!gKWz`eHpZ4u4U)?agj`F`tCNp7Vdcb1)|rX|70~m!zc9Z6AFFv=CR9 zm-@SX{jO#1+x5N1#nsitQTw8Od3Ao>x;TG#)M{U}u3JaY`WnH!#-dV00vu&z$+9oX zQCWS9fW9r<-;ZHPcu8gy9)tvb$Op%bdr%M#Z8$z}fw!2!IX3Yaj@xblNm9US&eA#HxmZEl+J~yP#+}WnJBcX zYZ9t+b#C!+#zjFJkTT9mA$SAw=M3+kA5y#)L{Y#tJy1+3O@+)DpVjfM#X@d#p?t|C z+Tp6UKlJ(|2u#5u$Nd0JVtnaPy)fv)iB~Bp&@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