From 3abbb8683b922f96acfda42a208c03fa1adf5ec0 Mon Sep 17 00:00:00 2001 From: lasers Date: Tue, 5 Feb 2019 16:05:11 -0600 Subject: [PATCH] add XDG_CONFIG_HOME paths for py3status --- py3status/argparsers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/py3status/argparsers.py b/py3status/argparsers.py index ccb17948aa..e29abee58c 100644 --- a/py3status/argparsers.py +++ b/py3status/argparsers.py @@ -63,6 +63,8 @@ def parse_cli_args(): # i3status config file default detection # respect i3status' file detection order wrt issue #43 i3status_config_file_candidates = [ + "{}/py3status/py3status.conf".format(xdg_home_path), + "{}/py3status/config".format(xdg_home_path), "{}/.i3status.conf".format(home_path), "{}/i3status/config".format(xdg_home_path), "{}/.config/i3/i3status.conf".format(home_path), @@ -248,6 +250,7 @@ def _format_action_invocation(self, action): # make include path to search for user modules if None if not options.include_paths: options.include_paths = [ + "{}/py3status/modules".format(xdg_home_path), "{}/.i3/py3status".format(home_path), "{}/.config/i3/py3status".format(home_path), "{}/i3status/py3status".format(xdg_home_path),