From c3f7fc4994cb7ae77cb6aa38e90500164f0b5dbd Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 23 Sep 2010 00:12:48 +0200 Subject: port support for xdg basedir and some makefile fixes from i3 --- man/i3status.man | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'man/i3status.man') diff --git a/man/i3status.man b/man/i3status.man index afe4fda..0fff8e6 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -9,13 +9,18 @@ i3status - Generates a status line for dzen2 or xmobar == SYNOPSIS -i3status [-c configfile] +i3status [-c configfile] [-h] [-v] == OPTIONS -c:: -Specifies an alternate configuration file path (default is /etc/i3status.conf -or ~/.i3status.conf). +Specifies an alternate configuration file path. By default, i3status looks for +configuration files in the following order: + +1. ~/.config/i3status/config (or $XDG_CONFIG_HOME/i3status/config if set) +2. /etc/xdg/i3status/config (or $XDG_CONFIG_DIRS/i3status/config if set) +3. ~/.i3status.conf +4. /etc/i3status.conf (or SYSCONFDIR/i3status.conf if set at compile-time) == DESCRIPTION -- cgit v1.2.3