shithub: picker

ref: d2aa6ed3228d702d6ad790790ca2dee0ee7201e0
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 [themed
rio(1)](https://ftrv.se/14).  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.