Skip to content

daanturo/pikcolior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pikcolior: an very simple Linux CLI screen color picker

About

Run pikcolior to invoke the XDG color picker portal, then the #6-letter code will be printed.

The -c option automatically copies the color code to your clipboard.

See more options by invoking pikcolior --help.

No fancy GUI, Pikcolior tries to stay out of your sight.

Installing

From source

Make sure you have Rust and Cargo installed.

git clone --depth=1 https://gitlab.com/daanturo/pikcolior --branch stable
cd pikcolior

make install

The above installs pikcolior to your $CARGO_HOME/bin and a desktop entry to ~/.local/share/applications/.

Notable dependencies

Special thanks to those Rust library authors, I couldn't have created this tool without them:

  • ASHPD: Rust & zbus wrapper of the XDG portals DBus interfaces.
  • Arboard: cross-platform library for interacting with the clipboard.