From b976702bfefb0591bc7de0e0ed4b612fd5cdd9c7 Mon Sep 17 00:00:00 2001 From: Ceda EI <19731116+Ceda-EI@users.noreply.github.com> Date: Thu, 28 Dec 2017 16:19:09 +0530 Subject: [PATCH] Updated README.md. Added composer.json --- README.md | 21 +++++++++++++++++++-- composer.json | 5 +++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 composer.json diff --git a/README.md b/README.md index 40ea91a..d85ee90 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ -# i3lock-unsplash -Show new images from Unsplash everytime you lock the screen. +# i3lock Delta +This script downloads a new image from [Unsplash](1). It checks whether the screen was locked every 5 minutes. In case of no Internet, it retries every 1 minute and displays the previous picture untill a new one is downloaded. + +## Dependencies + ++ [PHP](2) - Available in repositories of most popular distribution. ++ [Composer](3) - Available in repositories of most popular distribution. ++ [Imagemagick](4) - Specifically, the `convert` command. ++ [i3lock-color](5) - Available in AUR (For Arch users). Fork of i3lock with more features. Do not use i3lock since this program utilizes the features of i3lock-color. ++ [bash](6) - Most probably will be installed already. + + + +[1]: https://unsplash.com +[2]: https://php.net +[3]: https://getcomposer.org +[4]: https://imagemagick.org +[5]: https://github.com/PandorasFox/i3lock-color +[6]: https://www.gnu.org/software/bash/ diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..11acbd8 --- /dev/null +++ b/composer.json @@ -0,0 +1,5 @@ +{ + "require": { + "crewlabs/unsplash": "^2.4" + } +}