Open asteri0 opened 11 months ago
@asteri0 try adding those lines to your .config/sc-im/scimrc
file
Thank you for reply. If I add the color lines to my scimrc, the all spreadsheets will open with my custom colors. This is nice, but what I wanted was to have a different color scheme per spreadsheet so as to instantly know what I am working on. I recognize I am splitting hairs. I found a way to reproduce that functionality with a script, but it would be nice if we could embed a color scheme within a spreadsheet!
Oh I see. It might be that the file theme gets overrided with the scimrc one. it was never intended to have themes per file. may be it worked back then, but we had to change the order of things at startup to prevent other issues..
Thank you for you reply. Congrats on the hard work. Best Regards, Pablo
Andrés: please note that the help file (https://raw.githubusercontent.com/andmarti1424/sc-im/freeze/src/doc) is inaccurate then, as it says:
"Colors can be set at runtime or specified in: a. the scimrc file stored in $HOME/.config/sc-im/ b. the current .sc file. "
As I understand, b. no longer applies. Regards, Pablo
Yes. Indeed. Thanks for pointing it out.
In older versions of sc-im, I used a bash script to to add a special color scheme to a particular spreadsheet: color "type=HEADINGS fg=BLACK bg=WHITE bold=0 dim=0" color "type=HEADINGS_ODD fg=BLACK bg=WHITE bold=0 dim=0" color "type=NUMB fg=RED bg=DEFAULT_COLOR bold=1 dim=0" .... The issue I face since last year (I don't recall which particular version, sorry) : once I open the spreadsheet and make changes to and save with :x, the colors are gone!, the lines previously added disappear, so that when I open it again the colors revert to the default.