pub fn settings() -> SettingsExpand description
What: Load user settings and keybinds from config files under HOME/XDG.
Inputs:
- None (reads
settings.confandkeybinds.confif present)
Output:
- A
Settingsvalue; falls back toSettings::default()when missing or invalid.
ยงPanics
- If the internal settings cache mutex is poisoned (unexpected).