SXCS(1)

πŸ“¦
version 1.2.1 Β· 2 versions
, in nixpkgs unstable, ubuntu stonking

πŸ’– SXCS β€” the Minimal X11 Color Picker and Magnifier (man page, bestie edition) πŸ’–

okay so. you want a color picker. you want a magnifier. you want it minimal. you want it on X11. and you want it to be called sxcs. bestie, say less, this is literally that, and I'm gonna walk you through every last flag like we're texting at 2am. πŸŽ€


✨ SYNOPSIS ✨

sxcs [options]

that's it. that's the whole invocation. lowkey iconic. πŸ’…


🌸 DESCRIPTION 🌸

sxcs is a minimal X11 color picker and magnifier. no cap, that's the entire vibe β€” it picks colors and it magnifies stuff.

Mouse time πŸ–±οΈ β€” Mouse 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 (so like, Button2, Button3, whatever, they're all the ✌️ exit button).

Keyboard time ⌨️ β€” the keyboard can also be used when --keyboard is enabled. the arrow keys Left, Right, Up, Down as well as vi-like h, j, k, l are supported for moving the cursor. by default they move by 16 pixels, if Control is used then they move by 1 pixel, otherwise if Shift is used they move by 128 pixels instead. Space makes a selection. q and Escape quits. + and - zooms in and out.

so to recap the movement math: nothing held = 16px, Ctrl = 1px (for when you're being precise ✨), Shift = 128px (for when you're trying to get across the screen and you have places to be πŸ’€).

πŸ‘‘ OPTIONS πŸ‘‘

  • --color-none β€” disable color output. going full monochrome, no color for you 🚫🌈
  • --hex β€” output hex colors.
  • --rgb β€” output rgb colors.
  • --hsl β€” output hsl colors.
  • --mag-none β€” disable magnifier. just the picker, no zoom, we keeping it simple πŸ¦‹
  • --mag-filters filters β€” comma separated list of filter to apply in order. See the FILTERS section. (order matters, bestie, it applies them in order fr fr)
  • -o, --one-shot β€” quit after a single selection. one and done, main character energy, no encore 🎀
  • -q, --quit-on-keypress β€” quit on keypress.
  • -k, --keyboard β€” enable keyboard control. (this is the one that unlocks all the key stuff up in DESCRIPTION, you need it, don't forget it πŸ™ˆ)
  • -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.
  • icircle β€” similar to circle, but the border color is based on what's underneath the cursor. it's giving camouflage, it's giving adaptive, we love a filter with range πŸ’œ

⭐ EXIT STATUS ⭐

sxcs exits with status 0 on success, non-zero on abnormal termination. so if you get a 0, slay, everything went great. anything else and we're in our flop era 😭


🫢 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>. be nice, be specific, include the details, the maintainer will love you for it πŸ’–

Known Bugs

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

so yeah, if your cursor is an absolute unit (think ~255x255), expect some visual glitches. not a vibe, but forewarned is forearmed. 🌈

alright bestie, go pick some gorgeous colors. this was sxcs v1.2.1 from May 2026, and that's the whole page, periodt. πŸ’…βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from