4bit icon indicating copy to clipboard operation
4bit copied to clipboard

Import already existing color schemes

Open cocreature opened this issue 13 years ago • 4 comments

It would be awesome, if you could import, let's say your .Xresources and it would get parsed. Then you could work on it and finally when you're done export it back.

cocreature avatar Nov 13 '12 22:11 cocreature

It was discussed before (somewhere). Unfortunatelly it wont be possible. This is because 4bit generates only limited scope of configurations. There are some rules, like a HUE degree between adjacent colors is always 60°, lightness is the same for every color etc. I can't expect, that imported configuration follows these rules.

ciembor avatar Nov 13 '12 22:11 ciembor

Would it be possible to let you somehow save the work done using 4bit in a special format? Then this would no longer be a problem. I often create a colorscheme and then have to test it using vim, weechat, ncmpcpp, ... No the problem is, that if I only want to change a small part I have to recreate the whole theme, like it was before, which is quite annoying.

cocreature avatar Nov 14 '12 12:11 cocreature

Hmmm... yes, it is possible. But I have another idea - it will be easiest to just generate a link with settings in a hashbang URL, so you could share it with anyone. What do you think about this?

ciembor avatar Nov 15 '12 00:11 ciembor

You're right. That would be even better. Looking forward to see it implemented. Am 15.11.2012 00:42 schrieb "Maciej Ciemborowicz" <[email protected]

:

Hmmm... yes, it is possible. But I have another idea - it will be easiest to just generate a link with settings in a hashbang URL, so you could share it with anyone. What do you think about this?

— Reply to this email directly or view it on GitHubhttps://github.com/ciembor/4bit/issues/15#issuecomment-10392905.

cocreature avatar Nov 15 '12 06:11 cocreature