What are you working on? - Programming On Unix
Users browsing this thread: 2 Guest(s)
|
|||
I'm working on some dynamic options for the colors of sections on my panel.
I added a step in my panel templating that passes the name of the panel section and intended color off to a script[1]. From there, the script determines where on the panel the section goes and what color to assign it based on that. Initially I just tinted up colors with colort[2] and that looked like this: https://u.teknik.io/8oJBm.png . The next step I did was to tie the section indexes to a step in a gradient color list generated by a script. The gradient script[3] is from the example section of baskerville's ciecam02[4], with intent of playing with different color options later. Currently using $color0 and $color7 (black and white) of the current colorscheme for the gradient ends, with the total number of sections being the amount of steps. The script itself[5] with gradient allows results that look like: https://u.teknik.io/CLIbX.png https://u.teknik.io/VcKUG.png I'm currently not touching foreground. [1] https://github.com/neeasade/dotfiles/blo...juicer#L33 [2] https://github.com/neeasade/colort [3] https://github.com/neeasade/dotfiles/blo...s/gradient [4] https://github.com/baskerville/ciecam02#gradient [5] https://github.com/neeasade/dotfiles/blo...rchange.sh |
|||