Display which config is used in --more_version

In the output of i3 --moreversion,
display the path of the used config and its last modified time.
This commit is contained in:
hwangcc23
2015-07-09 22:25:50 +08:00
parent b30d87ea81
commit 44367572c9
3 changed files with 28 additions and 2 deletions

View File

@ -582,11 +582,14 @@ human_readable (string)::
build date and branch name. When you need to display the i3 version to
your users, use the human-readable version whenever possible (since
this is what +i3 --version+ displays, too).
loaded_config_file_name (string)::
The current config path.
*Example:*
-------------------
{
"human_readable" : "4.2-169-gf80b877 (2012-08-05, branch \"next\")",
"loaded_config_file_name" : "/home/hwangcc23/.i3/config",
"minor" : 2,
"patch" : 0,
"major" : 4