clean up monitor section

This commit is contained in:
vaxerski 2022-08-22 12:36:19 +02:00
parent a1b2dfad71
commit a8297a7f20

View file

@ -57,12 +57,16 @@ monitor=,preferred,auto,1
Will make any monitor that was not specified with an explicit rule automatically Will make any monitor that was not specified with an explicit rule automatically
placed in a sensible location with its preferred resolution. placed in a sensible location with its preferred resolution.
## Disabling a monitor
To disable a monitor, use To disable a monitor, use
```plain ```plain
monitor=name,disable monitor=name,disable
``` ```
## Custom reserved area
If your workflow requires custom reserved area, you can add it with If your workflow requires custom reserved area, you can add it with
```plain ```plain
@ -73,6 +77,13 @@ Where `TOP` `BOTTOM` `LEFT` `RIGHT` are integers in pixels of the reserved area
to add. This does stack on top of the calculated one, (e.g. bars) but you may to add. This does stack on top of the calculated one, (e.g. bars) but you may
only use one of these rules per monitor in the config. only use one of these rules per monitor in the config.
## Rotating and the default workspace
{{< hint type=important >}}
The monitor transform and workspace keywords depend on a monitor rule set specifically for the targeted monitor,
and ***MUST*** be after it.
{{< /hint >}}
```plain ```plain
workspace=name,number workspace=name,number
``` ```
@ -85,11 +96,6 @@ workspace=DP-1,1
will tell Hyprland to make the default workspace on DP-1 a number 1. will tell Hyprland to make the default workspace on DP-1 a number 1.
{{< hint type=important >}}
This keyword depends on a monitor rule set specifically for the targeted monitor,
and ***MUST*** be after it.
{{< /hint >}}
If you want to rotate a monitor, use If you want to rotate a monitor, use
```plain ```plain
@ -99,11 +105,6 @@ monitor=NAME,transform,TRANSFORM
where `NAME` is the name, and `TRANSFORM` is an integer, from 0 to 7, where `NAME` is the name, and `TRANSFORM` is an integer, from 0 to 7,
corresponding to your transform of choice. corresponding to your transform of choice.
{{< hint type=important >}}
This keyword depends on a monitor rule set specifically for the targeted monitor,
and ***MUST*** be after it.
{{< /hint >}}
``` ```
WL_OUTPUT_TRANSFORM_NORMAL = 0 WL_OUTPUT_TRANSFORM_NORMAL = 0