You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A text file, say leo_global_settings.ini, would contain just a few global settings. Leo would look for this file first in ~/.leo, and then in Leo's config directory.
Rationale
At present, Leo's theme files must load after myLeoSettings.leo, because myLeoSettings.leo specifies which theme to use. Instead, leo_global_settings.ini would specify the theme. Leo could then load the theme file before myLeoSettings.leo.
This feature has been requested before. There is now a real reason to allow this extra complication.
leo_global_settings.ini might replace some settings in g.app.db. This would make those settings more visible to the user, at the likely cost of complicating the affected code.
The text was updated successfully, but these errors were encountered:
Maybe it should just be theme.ini. Yet another place to look for a what-the-heck-is-doing-this! setting sounds like a recipe to make what's already a confusing situation even more confusing. Though I do agree there needs to be some mechanism to float the settings people are most likely to want to change upwards.
On Fri, Aug 23, 2019 at 12:20 PM matt wilkie wrote:
Maybe it should just be theme.ini.
Conceivable.
Yet another place to look for a *what-the-heck-is-doing-this!* setting sounds like a recipe to make what's already a confusing situation even more confusing.
Yes, that's a problem. Let me reconsider this. Perhaps g.app.db can be pressed into service...
I'm going to close this issue and mark it "Won'tDo". As Matt says, this would just add to the settings confusion. I have just created #1301: Open theme files before myLeoSettings.leo. #1301 suggests that @string theme-name should be replaced by a setting in g.app.db or c.db.
A text file, say leo_global_settings.ini, would contain just a few global settings. Leo would look for this file first in ~/.leo, and then in Leo's config directory.
Rationale
At present, Leo's theme files must load after myLeoSettings.leo, because myLeoSettings.leo specifies which theme to use. Instead, leo_global_settings.ini would specify the theme. Leo could then load the theme file before myLeoSettings.leo.
This feature has been requested before. There is now a real reason to allow this extra complication.
leo_global_settings.ini might replace some settings in g.app.db. This would make those settings more visible to the user, at the likely cost of complicating the affected code.
The text was updated successfully, but these errors were encountered: