diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-02 09:55:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-02 09:55:51 -0400 |
commit | fa7013ac2309adc02e65ff88db072430394b62fd (patch) | |
tree | 9ec2b8d754b5b74ca0501cbcbe805293db1ee3fe | |
parent | 56626988691a431a0a937e22731495edd26b3058 (diff) | |
parent | e88f3887caf588be5aaf6e286c77432976562893 (diff) |
Merge pull request #187 from versusvoid/documentation
Add examples/wlr-example.ini.example
-rw-r--r-- | examples/config.c | 2 | ||||
-rw-r--r-- | rootston/rootston.ini.example | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/examples/config.c b/examples/config.c index f04f92d2..0ef025c0 100644 --- a/examples/config.c +++ b/examples/config.c @@ -19,7 +19,7 @@ static void usage(const char *name, int ret) { "\n" " -C <FILE> Path to the configuration file\n" " (default: wlr-example.ini).\n" - " See `examples/wlr-example.ini.example` for config\n" + " See `rootston/rootston.ini.example` for config\n" " file documentation.\n", name); exit(ret); diff --git a/rootston/rootston.ini.example b/rootston/rootston.ini.example new file mode 100644 index 00000000..58e5816b --- /dev/null +++ b/rootston/rootston.ini.example @@ -0,0 +1,26 @@ +# Single output configuration. String after semicolon must match output's name. +[output:VGA-1] +# Set logical (layout) coordinates for this screen +x = 1920 +y = 0 + +# Screen transformation +# possible values are: +# '90', '180' or '270' - rotate output by specified angle clockwise +# 'flipped' - flip output horizontally +# 'flipped-90', 'flipped-180', 'flipped-270' - flip output horizontally +# and rotate by specified angle +rotate = 90 + +[cursor] +# Restrict cursor movements to single output +map-to-output = VGA-1 +# Restrict cursor movements to concrete rectangle +geometry = 2500x800 + +# Single device configuration. String after semicolon must match device's name. +[device:PixArt Dell MS116 USB Optical Mouse] +# Restrict cursor movements for this mouse to single output +map-to-output = VGA-1 +# Restrict cursor movements for this mouse to concrete rectangle +geometry = 2500x800 |