diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-07 14:20:54 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-07 14:20:54 -0700 |
commit | 12f5fa9bed1675cf867d161958459c4d3c47942d (patch) | |
tree | dccb12dd0f670eef1b510b8657860a844d57a12a | |
parent | ff08bbe7f4e9b84291c72fc77e1e7daa163fdff4 (diff) | |
download | view.love-12f5fa9bed1675cf867d161958459c4d3c47942d.tar.gz |
forgot to commit documentation for the commandline arg
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md index 3d77314..d14e61f 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,16 @@ $ path/to/love path/to/lines/directory /path/to/file/to/edit On a graphical desktop you can also drag and drop a file icon on to the lines.love window. +You can also configure the size of the window on the commandline. For example: + +```sh +$ path/to/love path/to/lines.love -geometry 640x480+10+10 path/to/file/to/edit +``` + +The syntax of the geometry parameter is {width}x{height}+{x}+{y} which will +position the top-left corner of the window at co-ordinate (x,y). The geometry +parameter must come before the file to edit. + ## Keyboard shortcuts While editing text: |