Constantly print color name on STDOUT
Status: Beta
Brought to you by:
jzs9783
I would like to use gcolor2 as a color picker for another application. To that end, it would be nice to be able to get gcolor2 to report the color name of the currently chosen color in a way that would be accessible to another application. Ideally, the color name that's reported would be constantly updated (just as it is in gcolor2 itself when the color selector is dragged).
The easiest way I can see of doing this is to just have gcolor2 print the currently selected color name on STDOUT. A more sophisticated solution would be to use something like dbus or dcop.
Of course, printing the color name to STDOUT shouldn't be the default, but could be enabled through a command-line option.