Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 570 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 570 Bytes

what-the-hex

Desktop color picker using Xlib.

Dependencies

  • X11
  • xsel

Install xsel:

$ sudo apt-get install xsel

Build and install

Build the application using following command:

$ make

The application is built into the bin directory. You can install it to run globally using following command:

$ sudo make install

Run

Once installed, you can the run the application with following command:

$ what-the-hex

Click anywhere on screen to pick a color. The hex value will be copied to the clipboard.