Add Manpage
This commit is contained in:
parent
9cc4dfd46e
commit
b90fa72cfb
2
Makefile
2
Makefile
@ -16,8 +16,10 @@ clean:
|
|||||||
|
|
||||||
install: xpick
|
install: xpick
|
||||||
install -m755 xpick $(DESTDIR)$(PREFIX)/bin/xpick
|
install -m755 xpick $(DESTDIR)$(PREFIX)/bin/xpick
|
||||||
|
install -m644 xpick.1 $(DESTDIR)$(PREFIX)/man/man1/xpick.1
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(PREFIX)/bin/xpick
|
rm -f $(DESTDIR)$(PREFIX)/bin/xpick
|
||||||
|
rm -f $(DESTDIR)$(PREFIX)/man/man1/xpick.1
|
||||||
|
|
||||||
.PHONY: all clean install uninstall
|
.PHONY: all clean install uninstall
|
||||||
|
27
xpick.1
Normal file
27
xpick.1
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
.TH XPICK 1 "August 2021" "User Manuals"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
xpick \- a simple command line based X color picker
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
|
||||||
|
.B xpick -r
|
||||||
|
show RGB notation RR/GG/BB
|
||||||
|
|
||||||
|
.B xpick -h
|
||||||
|
show HEX notation #RRGGBB
|
||||||
|
|
||||||
|
.B xpick -x
|
||||||
|
show XTerm nearest terminal color
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fBxpick\fR is a very simple color picker. When started, you can click
|
||||||
|
on any pixel on your X display and it will output the color according to
|
||||||
|
the parameters given. The parameters can be combined.
|
||||||
|
|
||||||
|
.SH CREDITS
|
||||||
|
The XTerm nearest terminal color logic has been taken from the tmux
|
||||||
|
project at https://github.com/tmux/tmux
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
Stefan Hagen <sh@codevoid.de>
|
Loading…
Reference in New Issue
Block a user