shithub: picker

Clone

clone: git://shithub.us/sigrid/picker gits://shithub.us/sigrid/picker
push: hjgit://shithub.us/sigrid/picker
patches to: sigrid on 9gridchan, or ftrvxmtrx@gmail.com

Last commit

99f6620b – Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com> authored on 2021/02/15 05:47
use "enter" key to enter color hex values

About

# 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.