Add Manpage

This commit is contained in:
sdk 2021-07-19 06:07:03 +00:00
parent 9cc4dfd46e
commit b90fa72cfb
2 changed files with 29 additions and 0 deletions

View File

@ -16,8 +16,10 @@ clean:
install: xpick
install -m755 xpick $(DESTDIR)$(PREFIX)/bin/xpick
install -m644 xpick.1 $(DESTDIR)$(PREFIX)/man/man1/xpick.1
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/xpick
rm -f $(DESTDIR)$(PREFIX)/man/man1/xpick.1
.PHONY: all clean install uninstall

27
xpick.1 Normal file
View 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>