Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

daily wallpaper downloader

License

NotificationsYou must be signed in to change notification settings

azimut/daily-pic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get and set the image of the day from different sites:

result

Astronomy

  • nasa.apod
  • nasa.apod.rand
  • nasa.iod
  • nasa.jpl
  • skymap.astrobot
  • skymap.heavensabove
  • skymap.astronetru

Comics

  • dilbert
  • calvinandhobbes
  • eatthattoast
  • xkcd

Misc

  • 4walled
  • interfacelift
  • wallhaven
  • imgur.albums
  • imgur.subreddit
  • reddit
  • deviantart
  • simpledesktops

Nature

  • bing
  • chromecast
  • natgeo
  • nasa earth observatory iotd

Weather

  • latlong.nasa.msfc
  • america.smn
  • america.nasa.goes
  • america.fvalk
  • america.s.aw
  • america.n.aw
  • globe.dienet.mercator
  • globe.dienet.peters
  • globe.dienet.mollweide
  • globe.dienet.rectangular
  • arg.smn
  • arg.nexsat

Feel free to add your own source :)

result2

Usage

Pass the correspondent flag as argument to the script.For example, to get and set the wallpaper from nasa apod use the-a flag:

$ bash do.sh -a nasa.jpl# NASA - Jet Propulsion Laboratory- Category: universeHTTP/1.1 200 OKDate: Fri, 11 Apr 2014 01:32:35 GMTServer: Apache/2.2.25 (Unix) PHP/5.5.9 JRun/4.0Last-Modified: Thu, 23 Jun 2011 14:46:19 GMTETag: "4647c4f-cd8d-4a66225dba4c0"Accept-Ranges: bytesContent-Length: 52621Content-Type: image/jpegX-Pad: avoid browser bugURL:  http://www.jpl.nasa.gov/spaceimages/images/wallpaper/PIA13066-800x600.jpgFILE: /home/sendai/projects/daily-pic/pics/PIA13066-800x600.jpg

Installation steps

Go to where you want to save this script:

$ cd /home/usernamehere/projects

Clone this repo (or just download the zip file):

$ git clone 'https://github.com/azimut/daily-pic'

Add the following crontab as root or usingsudo (if you are using vixie-cron or if you know how to configure cron you might try to add this as user instead of root):

# crontab -e0 */1 * * * su - usernamehere -c 'cd /home/usernamehere/projects/daily-pic; bash do.sh -a &>> pics/log.txt'

TODO

  • Get more sources: daily random code of the day? (github/gist) daily webcam image of the day/hour?
  • Add some kind of heuristic to determine what is the best fit for a wallpaper (what feh option use) based on the resolution of the current monitor.

About

daily wallpaper downloader

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp