SXCS(1)

NAME
sxcs - Minimal X11 color picker and magnifier

SYNOPSIS
sxcs [options]

DESCRIPTION
sxcs is a minimal X11 color picker and magnifier. Button1 will select and print the color to stdout, the output is TAB separated hex, rgb and hsl. Scroll Up/Down will zoom in and out. Any other mouse button will quit sxcs.

OPTIONS

--color-none
    disable color output.

--hex
    output hex colors.

--rgb
    output rgb colors.

--hsl
    output hsl colors.

--mag-none
    disable magnifier.

--mag-filters filters
    comma separated list of filter to apply in order. See section FILTERS for more information.

-o, --one-shot
    quit after a single selection.

-q, --quit-on-keypress
    quit on keypress.

-h, --help
    Show usage and exit.

--version
    Show version and exit.

FILTERS
List of available filters:

square
    draws a square border.

xhair
    draws a square crosshair.

grid
    draws grid.

circle
    draws a circle.

EXIT STATUS
sxcs exits with status 0 on success, non-zero on abnormal termination.

AUTHORS
NRK <nrk@disroot.org>

BUGS

  Reporting Bugs
For reporting bugs, either open an issue under the Codeberg repo <https://codeberg.org/NRK/sxcs> or send an email to <nrk@disroot.org>.

  Known Bugs
Visual glitches may occur if the cursor size is too big (typically 255x255).