settings

Function settings 

Source
pub fn settings() -> Settings
Expand description

What: Load user settings and keybinds from config files under HOME/XDG.

Inputs:

  • None (reads settings.conf and keybinds.conf if present)

Output:

  • A Settings value; falls back to Settings::default() when missing or invalid.

ยงPanics

  • If the internal settings cache mutex is poisoned (unexpected).