diff --git a/Makefile b/Makefile index 7387709..ea66248 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/xpick.1 b/xpick.1 new file mode 100644 index 0000000..f64642b --- /dev/null +++ b/xpick.1 @@ -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