diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-08-25 08:06:38 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-08-26 08:32:11 -0400 |
commit | b3a43e226140d9b5d49c4ed24798e3f3006dcae5 (patch) | |
tree | 249f5b905c8bbb044dd088e6bed090218b37aa69 /examples/wlr-example.ini.example | |
parent | 54f87146c3755653bbbe076c86b4b85c23a0989d (diff) |
add configuration file
Diffstat (limited to 'examples/wlr-example.ini.example')
-rw-r--r-- | examples/wlr-example.ini.example | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/wlr-example.ini.example b/examples/wlr-example.ini.example new file mode 100644 index 00000000..283439f0 --- /dev/null +++ b/examples/wlr-example.ini.example @@ -0,0 +1,33 @@ +# Configuration +# ------------- +# Some examples will read a configuration file. Not all examples will use all of +# the configuration options. The configuration file will be loaded from +# `wlr-example.ini` from the current directory or the path can be specified by the +# `-C` option given on the command line. +# +# Output configuration +# ~~~~~~~~~~~~~~~~~~~~ +# Each output is specified in a section named [output:{NAME}] where NAME is the +# drm name for this output. +# +# Value "x" specifies the x-coordinate in the output layout. +# +# Value "y" specifies the y-coordinate in the output layout. +# +# Value "rotate" specifies output rotation and can be 90, 180, 270, flipped, +# flipped-90, flipped-180, or flipped-270 +[output:HDMI-A-1] +x=3000 +y=0 +rotate=90 + +[output:DP-1] +x=0 +y=0 +rotate=270 + +[output:DVI-D-1] +x=1080 +y=232 + +# vim:filetype=dosini |