Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make script more robust and add linux support #34

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

karheinz
Copy link

  • Fetching picture(s) of the day now works without errors.
  • xmllint (XPath) is used to select the URL nodes, which is less error prone than using grep.
  • Pictures dir on Linux now is chosen in respect to the selected language.
  • xsetbg is used to update the background image on Linux.
  • A script for lightdm integration on Linux was added to the Tools directory.
  • Version was bumped to 0.5.

Tested on Arch Linux machine, MacOS X pending (should work).

Exit if resolution is unknown and give a hint.
The script can now download more than one picture.
A passed filename will be applied only to the first picture.
If requested, the first picture will be used as wallpaper.
Default is en-US. Use whatever is supported, e. g. de-DE.
Use uname to check for system (Linux or Darwin).
This way sorting by modification time is possible.
The script downloads the picture of the day and stores
it to a directory next to the previous ones. It maintains
a link with fixed name that always points to the latest
added picture. The link should be referenced by the
lightdm greeter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant