16 Commits (master)
 

Author SHA1 Message Date
katherine 281ce6d12a typo
typing too quickly with numb hands
5 years ago
katherine 59d466475e update README to include -x flag 5 years ago
katherine c4ab04eb0a add -x flag for hexadecimal output
prints a hex colour code in the typical #RRGGBB form
5 years ago
Devin J. Pohly e7753acd94 print_pixel only used once now
go ahead and put in it main.  no loss of readability really.
11 years ago
Devin J. Pohly 8aa9308495 don't die on SIGPIPE
this will allow `stint | sed q' to exit with a 0 return status, and also
to wait for the button to be released
11 years ago
Devin J. Pohly d183e8d1a2 simplify logic for releasing button 11 years ago
Devin J. Pohly 0c7672708d whoops, forgot to update readme yesterday 11 years ago
Devin J. Pohly 1f63fef021 address compiler warning 11 years ago
Devin J. Pohly 4fbc64c673 update todo 11 years ago
Devin J. Pohly 245f7a2371 return status 2 if color selection was canceled
should aid in scripting
11 years ago
Devin J. Pohly b5872d68d4 remove imlib2 dependency!
inspired by grabc's method of getting colors
11 years ago
Devin J. Pohly 50baa59077 don't buffer
maybe just use unbuffered i/o functions later?
11 years ago
Devin J. Pohly 35674af416 press a different button to cancel
also waits for that button to be released so the underlying window
doesn't get a random ButtonRelease event
11 years ago
Devin J. Pohly ad35a7720c make print_pixel static so it can be inlined 11 years ago
Devin J. Pohly 776da82838 add gpl and boilerplate 11 years ago
Devin J. Pohly 5dde903037 initial commit. it works. 11 years ago