summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylanaraps@users.noreply.github.com>2017-07-23 20:07:03 +1000
committerGitHub <noreply@github.com>2017-07-23 20:07:03 +1000
commit640946562faf83e589c176b7adaf7da76fb01f7e (patch)
treebdc474fb40c8397cca1cb306a6dffd80ecef5df8
parentf13a0c28fd27dc0238103a0a750b8f88c5eac804 (diff)
parent32d5a748294e2b164a333abc10be928aab47076c (diff)
Merge pull request #56 from dylanaraps/rd
misc: README changes and added code coverage.
-rw-r--r--.travis.yml7
-rw-r--r--README.md17
2 files changed, 7 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml
index 36c9a18..c420e8e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,9 +7,12 @@ before_install:
- sudo apt-get install -y imagemagick
install:
- - pip install flake8 pylint
+ - pip install flake8 pylint codecov
script:
- flake8 pywal tests setup.py
- pylint pywal tests setup.py
- - python setup.py test
+ - coverage run --source=pywal/ ./setup.py test
+
+after_success:
+- codecov
diff --git a/README.md b/README.md
index ebb0f1f..7f6f009 100644
--- a/README.md
+++ b/README.md
@@ -3,30 +3,17 @@
[![PyPI](https://img.shields.io/pypi/v/pywal.svg)](https://pypi.python.org/pypi/pywal/) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md) [![Build Status](https://travis-ci.org/dylanaraps/pywal.svg?branch=master)](https://travis-ci.org/dylanaraps/pywal)
+**\[[Installation](https://github.com/dylanaraps/pywal/wiki/Installation)\] \[[Getting Started](https://github.com/dylanaraps/pywal/wiki/Getting-Started)\] \[[Customization](https://github.com/dylanaraps/pywal/wiki/Customization)\] \[[Wiki](https://github.com/dylanaraps/pywal/wiki)\]**
+
`wal` is a script that takes an image (or a directory of images), generates a colorscheme (using `imagemagick`) and then changes all of your open terminal's colors to the new colorscheme on the fly. `wal` then caches each generated colorscheme so that cycling through wallpapers while changing colorschemes is instantaneous.
`wal` also merges the new colorscheme into the Xresources database so that programs on your system such as `Rofi` or `i3` use the new colors automatically. `wal` finally exports the colors into various formats so that you can use the colors in webpages, scripts, other programs etc.
For more info, check out the [Wiki](https://github.com/dylanaraps/pywal/wiki).
-**NOTE:** `wal` is not perfect and won't work well with some images.
-
[Albums of examples (Warning large)](https://dylanaraps.com/pages/rice)
![screenshot](https://i.imgur.com/hkAJjJg.png)
-## Installation
-
-https://github.com/dylanaraps/pywal/wiki/Installation
-
-
-## Getting Started
-
-https://github.com/dylanaraps/pywal/wiki/Getting-Started
-
-
-## Customization
-
-https://github.com/dylanaraps/pywal/wiki