-
Notifications
You must be signed in to change notification settings - Fork 0
A command line tool to get geometry/color/position of the selection or clicked location in X.
License
holygeek/xgetc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
xgetc is command line tool to get geometry/color/position of the selection or clicked location in X. Compile: make xgetc Documentation: man ./xgetc.1 Install: make install - Choose your preferred installation location by modifying PREFIX in the makefile. I was doing some web development and hated going back and forth between vim and gimp color picker for getting the hexadecimal color of some random pixel on the screen. Googling returned nothing then so I tried to come up with my own program but ended up copying most of the code from ImageMagick :o) So most of the code in xgetc was shamelessly stolen^Wcopied ImageMagick. Sample usage: % xgetc -g # click and drag anywhere on your screen, the geometry will be # printed. % xgetc -c # click anywhere on your screen, the color will be printed in hex, # e.g. #3366ff. % xgetc -p # click anywhere on your screen, the mouseclick position will be # printed in hex. Author: Nazri Ramliy
About
A command line tool to get geometry/color/position of the selection or clicked location in X.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published