summary refs log tree commit diff
path: root/bin/man1/scheme.1
blob: 9f72d9452222b1504fb59f6affe0fb7f64548323 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.Dd February  6, 2021
.Dt SCHEME 1
.Os
.
.Sh NAME
.Nm scheme
.Nd color scheme
.
.Sh SYNOPSIS
.Nm
.Op Fl Xacghilmstx
.Op Fl p Ar n
.
.Sh DESCRIPTION
.Nm
generates a color scheme
and outputs it in a number of formats.
.
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl X
Output Xresources for
.Xr xterm 1 .
.It Fl a
Generate the 16 ANSI colors.
This is the default.
.It Fl c
Output a C enum.
.It Fl g
Output a swatch PNG.
.It Fl h
Output floating point HSV.
.It Fl i
Swap black and white.
.It Fl l
Output Linux console OSC sequences.
.It Fl m
Output a
.Xr mintty 1
theme.
Use with
.Fl t .
.It Fl p Ar n
Generate only the color
.Ar n .
.It Fl s
Output CSS
for classes named
.Sy fg Ns Ar n
and
.Sy bg Ns Ar n .
.It Fl t
Generate the 16 ANSI colors as well as
background, foreground, bold, selection and cursor colors.
.It Fl x
Output hexadecimal RGB.
This is the default.
.El
Enroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroeproduces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win! 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe This fixes badly indented comments. 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe