• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ImakefileH A D17-Aug-2005101 95

LICENSEH A D27-Sep-20081.3 KiB2721

NEWSH A D27-Sep-2008355 2012

READMEH A D06-May-20081.1 KiB5435

main.cH A D27-Sep-20088.9 KiB362258

README

1$Id: README,v 1.5 2008/05/06 20:24:00 alex Exp $
2
3Release notes for xoris 0.1d
4============================
5
6This is an uncomplicated util that helps (me) to easy insert (while
7editing CSS-files) a rgb-color value of any part of the screen into
8the editor.
9
10xoris grabs the RGB color value of any pixel on the screen and dumps the
11color's name to stdout. The output can be printed as:
12
13   1. hex (#b0958e);
14   2. triple of decimal RGB values (229 229 229);
15   3. abstract name (gray90).
16
17To get such enumerated color specifications, click: Button1,
18Ctrl+Button1, Shift+Button1 correspondingly.
19
20Don't forget to type ``xoris -h'' for additional help.
21
22Program has only been tested on displays with a bit depth of 24 bpp.
23
24
25INSTALL
26-------
27
28To compile, type:
29
30    % xmkmf
31    % make
32
33To install, type (as root):
34
35    # make install
36
37For quick test how it works, type:
38
39    % xoris | xmessage -file -
40
41For a more convenience way try such script:
42
43#!/bin/sh
44
45while true
46do
47    xoris | xmessage -buttons 'Grab,Quit' -nearmouse \
48        -xrm '*iconName:xoris output' \
49        -title 'xoris output' \
50        -geometry 180x65 \
51        -file -
52    [ $? -eq 102 ] && exit
53done
54