Skip to content

Commit

Permalink
argparsers: organize paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lasers committed Feb 28, 2019
1 parent dbbfd42 commit 566ba01
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions py3status/argparsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ 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),
"{}/.i3status.conf".format(home_path),
"{}/py3status/config".format(xdg_home_path),
"{}/i3status/config".format(xdg_home_path),
"{}/.config/i3/i3status.conf".format(home_path),
"{}/i3/i3status.conf".format(xdg_home_path),
"{}/.i3status.conf".format(home_path),
"{}/.i3/i3status.conf".format(home_path),
"{}/i3status/config".format(xdg_dirs_path),
"/etc/i3status.conf",
Expand Down Expand Up @@ -178,10 +178,9 @@ def _format_action_invocation(self, action):
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),
"{}/i3/py3status".format(xdg_home_path),
"{}/.i3/py3status".format(home_path),
]

include_paths = []
Expand Down

0 comments on commit 566ba01

Please sign in to comment.