nixos: minor X11 option description improvements (#30035)

This commit is contained in:
Benjamin Staffin 2017-10-09 12:07:19 -07:00 committed by GitHub
parent f2ce15be9d
commit b3df084c70

View File

@ -75,12 +75,13 @@ in {
default = null; default = null;
description = description =
'' ''
Enables a click method. Permitted values are none, buttonareas, clickfinger. Enables a click method. Permitted values are <literal>none</literal>,
<literal>buttonareas</literal>, <literal>clickfinger</literal>.
Not all devices support all methods, if an option is unsupported, Not all devices support all methods, if an option is unsupported,
the default click method for this device is used. the default click method for this device is used.
''; '';
}; };
leftHanded = mkOption { leftHanded = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
@ -96,7 +97,7 @@ in {
simultaneously produces a middle mouse button click. simultaneously produces a middle mouse button click.
''; '';
}; };
naturalScrolling = mkOption { naturalScrolling = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
@ -120,7 +121,8 @@ in {
example = "edge"; example = "edge";
description = description =
'' ''
Specify the scrolling method. Specify the scrolling method: <literal>twofinger</literal>, <literal>edge</literal>,
or <literal>none</literal>
''; '';
}; };
@ -141,7 +143,8 @@ in {
example = "disabled"; example = "disabled";
description = description =
'' ''
Sets the send events mode to disabled, enabled, or "disable when an external mouse is connected". Sets the send events mode to <literal>disabled</literal>, <literal>enabled</literal>,
or <literal>disabled-on-external-mouse</literal>
''; '';
}; };