Skip to content

Conversation

@shmibs
Copy link

@shmibs shmibs commented Feb 26, 2018

prints a hex colour code in the typical #RRGGBB form

does not change default behaviour (running without flags returns in integer form), so existing usage should not break

katherine added 3 commits February 25, 2018 17:09
prints a hex colour code in the typical #RRGGBB form
typing too quickly with numb hands
@djpohly
Copy link
Owner

djpohly commented Feb 26, 2018

Thanks for the pull request!

Is there an advantage to doing it in the stint code rather than, say:

stint | xargs -n3 printf '#%02x%02x%02x\n'

The reason I chose decimal output was to make that easy to do. :)

@shmibs
Copy link
Author

shmibs commented Feb 26, 2018

i guess only that it seems a common use-case, and not everyone knows how or thinks to do things like that, judging by a quick search and this thread

@shmibs
Copy link
Author

shmibs commented Feb 26, 2018

...and, as xoris has since been removed from the AUR and grabc (like you'd mentioned in that thread) doesn't actually work consistently, using stint is the easy option that's left to people

@vaygr
Copy link

vaygr commented Dec 15, 2020

I'd second that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants