Skip to main content

write_xdg_config

Function write_xdg_config 

Source
pub fn write_xdg_config(new_key: &str) -> Result<PathBuf>
Expand description

Writes (or updates) the XDG configuration file with the provided key.

Creates parent directories if necessary. On Unix systems, sets 600 permissions via apply_600_permissions.