Skip to content

Commit

Permalink
nixos: minor X11 option description improvements (#30035)
Browse files Browse the repository at this point in the history
  • Loading branch information
benley committed Oct 9, 2017
1 parent f2ce15b commit b3df084
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions nixos/modules/services/x11/hardware/libinput.nix
Expand Up @@ -75,12 +75,13 @@ in {
default = null;
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,
the default click method for this device is used.
the default click method for this device is used.
'';
};

leftHanded = mkOption {
type = types.bool;
default = false;
Expand All @@ -96,7 +97,7 @@ in {
simultaneously produces a middle mouse button click.
'';
};

naturalScrolling = mkOption {
type = types.bool;
default = false;
Expand All @@ -120,7 +121,8 @@ in {
example = "edge";
description =
''
Specify the scrolling method.
Specify the scrolling method: <literal>twofinger</literal>, <literal>edge</literal>,
or <literal>none</literal>
'';
};

Expand All @@ -141,7 +143,8 @@ in {
example = "disabled";
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>
'';
};

Expand Down

0 comments on commit b3df084

Please sign in to comment.