From a8297a7f20c24ebca23d31a2f839b274f6c096d0 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 22 Aug 2022 12:36:19 +0200 Subject: [PATCH] clean up monitor section --- pages/Configuring/Advanced-config.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pages/Configuring/Advanced-config.md b/pages/Configuring/Advanced-config.md index e14512e..44996c3 100644 --- a/pages/Configuring/Advanced-config.md +++ b/pages/Configuring/Advanced-config.md @@ -57,12 +57,16 @@ monitor=,preferred,auto,1 Will make any monitor that was not specified with an explicit rule automatically placed in a sensible location with its preferred resolution. +## Disabling a monitor + To disable a monitor, use ```plain monitor=name,disable ``` +## Custom reserved area + If your workflow requires custom reserved area, you can add it with ```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 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 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. -{{< 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 ```plain @@ -99,11 +105,6 @@ monitor=NAME,transform,TRANSFORM where `NAME` is the name, and `TRANSFORM` is an integer, from 0 to 7, 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