You are not logged in.
Pages: 1
I'm curious to know if anyone has made or would know how to program a small script to generate random hexadecimal numbers for using in Xdefaults/Xresources. I find myself wasting waaay to much time playing with colors to make my terminals look good. By randomly generating colors, you could easily copy and paste them into your xdefaults and see if you like them. I'm assuming a python or bash script could do this?
There are a few things I see would make it work well:
- Generate them to compliment the Xdefaults (Green/Light Green, Blue/Light Blue etc...)
- Output (in color) the hex codes
- Output for easy copy/paste into the Xdefaults file like so:
*color0: #000000
*color1: #222222Any help would be great!
Offline
Not exactly what you're asking for, but a step in that direction is http://inspiration.sweyla.com/code/
Offline
Pages: 1