aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md12
-rw-r--r--docs/man.md6
-rw-r--r--paper2remarkable/ui.py4
3 files changed, 11 insertions, 11 deletions
diff --git a/README.md b/README.md
index ffae1b9..df3300e 100644
--- a/README.md
+++ b/README.md
@@ -191,7 +191,7 @@ optional arguments:
--font-urls FONT_URLS
path to custom font urls file for HTML output
-C CONFIG, --config CONFIG
- path to config file (default: ~/.p2r.yml)
+ path to config file (default: ~/.paper2remarkable.yml)
```
By default ``paper2remarkable`` makes a PDF fit better on the reMarkable by
@@ -208,11 +208,11 @@ provider](https://github.com/GjjvdBurg/paper2remarkable/blob/a6e50d07748c842f1f0
can serve as a starting point.
A configuration file can be used to provide commonly-used command line
-options. By default the configuration file at ``~/.p2r.yml`` is used if it
-exists, but an alternative location can be provided with the ``-C/--config``
-flag. Command line flags override the settings in the configuration file. See
-the [config.example.yml](./config.example.yml) file for an example
-configuration file and an overview of supported options.
+options. By default the configuration file at ``~/.paper2remarkable.yml`` is
+used if it exists, but an alternative location can be provided with the
+``-C/--config`` flag. Command line flags override the settings in the
+configuration file. See the [config.example.yml](./config.example.yml) file
+for an example configuration file and an overview of supported options.
## Alfred Workflow
diff --git a/docs/man.md b/docs/man.md
index a6115a9..9c331f1 100644
--- a/docs/man.md
+++ b/docs/man.md
@@ -33,7 +33,7 @@ Basic options:
-C, --config=FILENAME
Read options from a configuration file. A YAML file is supported, see
[CONFIGURATION FILE](#configuration) for further details. By default the
- file at ``~/.p2r.yml`` is used if it exists.
+ file at ``~/.paper2remarkable.yml`` is used if it exists.
-e, --experimental
Enable the experimental features of paper2remarkable. See below under
@@ -156,8 +156,8 @@ the HTML before sending the file to the reMarkable.
To avoid having to provide frequently-used command line flags, a configuration
file can be created for paper2remarkable. By default it is a YAML file located
-at ``~/.p2r.yml``, but an alternative location can be provided with the
-``--config`` option to the script.
+at ``~/.paper2remarkable.yml``, but an alternative location can be provided
+with the ``--config`` option to the script.
The configuration file consists of three sections: ``core``, ``system``, and
``html``. In the ``core`` section options for cropping, verbosity, and blank
diff --git a/paper2remarkable/ui.py b/paper2remarkable/ui.py
index 334714f..6f95e30 100644
--- a/paper2remarkable/ui.py
+++ b/paper2remarkable/ui.py
@@ -121,7 +121,7 @@ def parse_args():
parser.add_argument(
"-C",
"--config",
- help="path to config file (default: ~/.p2r.yml)",
+ help="path to config file (default: ~/.paper2remarkable.yml)",
default=None,
)
parser.add_argument(
@@ -197,7 +197,7 @@ def choose_provider(cli_input):
def load_config(path=None):
if path is None:
- path = os.path.join(os.path.expanduser("~"), ".p2r.yml")
+ path = os.path.join(os.path.expanduser("~"), ".paper2remarkable.yml")
if not os.path.exists(path):
return {"core": {}, "system": {}, "html": {}}
with open(path, "r") as fp: