alacritty::config

Function installed_config

Source
pub fn installed_config(suffix: &str) -> Option<PathBuf>
Expand description

Get the location of the first found default config file paths according to the following order:

  1. $XDG_CONFIG_HOME/alacritty/alacritty.toml
  2. $XDG_CONFIG_HOME/alacritty.toml
  3. $HOME/.config/alacritty/alacritty.toml
  4. $HOME/.alacritty.toml