shithub: picker

ref: a08889d01cb49c0b9169181d483d2e2b7d03b195
dir: /README.md/

View raw version
# picker

Color picker for Plan 9.  It has HSLuv, HPLuv, and RGB color space
modes and is intended to be used mainly by external programs that need
a way to change their color palette.

The implementation of the H* color spaces is taken from
[here](http://github.com/hsluv/hsluv-c).

## Installing

```
cd /tmp && \
hget https://github.com/ftrvxmtrx/picker/archive/master.tar.gz | tar xz && \
cd picker-master && mk install
```

## Documentation

See the man page.

![screenshot](picker.png)

## Themes

At this moment the only program that actually uses picker is
[Orca](https://github.com/ftrvxmtrx/orca9).
Nevertheless, since it supports loading
[themes](https://github.com/hundredrabbits/Themes), it makes sense to
describe how to get them on Plan 9:

```
./themes.rc
```

The themes are stored in `$home/lib/theme`.  Once an app that supports
picker is running, make it start the picker and in case you have the
plumb rule from the man page in `/mnt/plumb/rules`, you can just plumb
any theme and the app will receive the new colors.