From 20608c987b1668cb2b4e3cff7615577cd05c2075 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 6 Apr 2022 18:44:09 +0200 Subject: config: fallback to /etc/xdg if XDG_CONFIG_DIRS is unset Closes #1008 --- doc/foot.ini.5.scd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index fad39c09..594f893a 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -13,9 +13,10 @@ say if it needs to be reopened after any of the other sections. foot will search for a configuration file in the following locations, in this order: - - *XDG_CONFIG_HOME/foot/foot.ini* - - *~/.config/foot/foot.ini* - - *XDG_CONFIG_DIRS/foot/foot.ini* + - *XDG_CONFIG_HOME/foot/foot.ini* (defaulting to + *~/.config/foot/foot.ini* if unset) + - *XDG_CONFIG_DIRS/foot/foot.ini* (defaulting to + */etc/xdg/foot/foot.ini* if unset) # SECTION: main -- cgit v1.3