shithub: picker

ref: 82e9ef3fd35513bc77e6c544a429a177e53da284
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

Clone, run `mk install`

## Documentation

See the man page.

![screenshot](picker.png)

## Themes

At this moment the only two programs that actually use picker are
[Orca](https://git.sr.ht/~ft/orca) and [zuke](https://git.sr.ht/~ft/zuke).
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.