Sigrid Solveig Haflínudóttiruse "enter" key to enter color hex values99f66205 years agoHistory
83 lines · 1.6 KB · Text
RawDownload
.TH PICKER 1.SH NAMEpicker \- a color picker.SH SYNOPSIS.B picker[.I -e] [.I -slr] [.I FILE].SH DESCRIPTION.I Pickeris a tool designed to mainly be used by other programs in order tochange a color palette dynamically, showing changes in real time.Colors are supplied through a file, each line is encoded as.I RGBor.I RGBAin hex form, i.e..I ff0000for red in.I RGBmode, or.I ff0000ffin.I RGBAmode..PPIf the filename wasn't specified,.I pickerexpects data to be supplied on its standard input.  The format in bothcases is the same:.I idof the color first, then hex value of the color as the second column..I Idis used for color updates written to stdout..PPDifferent color spaces are accessible through right button menu, or ascommand line arguments:.TP.B -sHSLuv..TP.B -lHPLuv..TP.B -rRGB..PPSwitching between colors in the palette can be done by either a mouseclick, or left/right arrows on the keyboard.  With the middle buttonclick (or 'enter' key) you can enter color as.I RGB(A)manually..PPFor each change of a color, picker writes to stdout its.I idand the new color value, separated by a single space.  Pass.I -eoption if you want.I pickerto print all the colors only once you exit the program (with either'q' or 'delete')..SH PLUMBINGThemes can be loaded into a running.I pickerthrough plumber rule. The following assumes themes have.I ".theme"as its extension..EXtype	is	textdata	matches	'[a-zA-Z¡-￿0-9_\-.,/]+'data	matches	'([a-zA-Z¡-￿0-9_\-.,/]+)\.theme'arg	isfile	$0data	set	$fileplumb	to	pickerplumb	start window picker -e $file.EE.PP.SH SOURCEhttps://git.sr.ht/~ft/picker

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t