Skip to content

Commit

Permalink
colorpicker: add page (#6098)
Browse files Browse the repository at this point in the history
  • Loading branch information
marchersimon authored Jun 11, 2021
1 parent 87004be commit aebd17a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pages/common/colorpicker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# colorpicker

> A minimalist X11 colorpicker.
> Any mouse gesture except left click will exit the program.
> More information: <https://github.com/ym1234/colorpicker>.
- Launch colorpicker and print the hexadecimal and RGB value of each clicked pixel to stdout:

`colorpicker`

- Only print the color of one clicked pixel and then exit:

`colorpicker --one-shot`

- Print the color of each clicked pixel and quit when a key is pressed:

`colorpicker --quit-on-keypress`

- Only print the RGB value:

`colorpicker --rgb`

- Only print the hexadecimal value:

`colorpicker --hex`

0 comments on commit aebd17a

Please sign in to comment.