mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 06:25:59 +01:00
ux improvements on monitor
This commit is contained in:
parent
db213bb8af
commit
a32490a7ea
1 changed files with 11 additions and 45 deletions
|
@ -147,45 +147,15 @@ monitor=eDP-1,2880x1800@90,0x0,1,bitdepth,10
|
||||||
Please be aware that colors registered in Hyprland (e.g. the border color) do _not_
|
Please be aware that colors registered in Hyprland (e.g. the border color) do _not_
|
||||||
support 10 bit.
|
support 10 bit.
|
||||||
|
|
||||||
# Rotating and the default workspace
|
# Rotating
|
||||||
|
|
||||||
{{< hint type=important >}}
|
If you want to rotate a monitor, add a `,transform,X` at the end
|
||||||
|
of the monitor rule, where `X` corresponds to a transform number, e.g.:
|
||||||
The monitor transform and workspace keywords depend on a monitor rule set
|
|
||||||
specifically for the targeted monitor, and **_MUST_** be after it.
|
|
||||||
|
|
||||||
e.g.:
|
|
||||||
```ini
|
```ini
|
||||||
monitor=,preferred,auto,1
|
monitor=eDP-1,2880x1800@90,0x0,1,transform,1
|
||||||
workspace=DP-3,1 # invalid
|
|
||||||
|
|
||||||
monitor=DP-3,preferred,auto,1
|
|
||||||
workspace=DP-3,1 # valid
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< /hint >}}
|
Transform list:
|
||||||
|
|
||||||
```ini
|
|
||||||
workspace=name,number
|
|
||||||
```
|
|
||||||
|
|
||||||
for example:
|
|
||||||
|
|
||||||
```ini
|
|
||||||
workspace=DP-1,1
|
|
||||||
```
|
|
||||||
|
|
||||||
will tell Hyprland to make the default workspace on DP-1 a number 1.
|
|
||||||
|
|
||||||
If you want to rotate a monitor, use
|
|
||||||
|
|
||||||
```ini
|
|
||||||
monitor=NAME,transform,TRANSFORM
|
|
||||||
```
|
|
||||||
|
|
||||||
where `NAME` is the name, and `TRANSFORM` is an integer, from 0 to 7,
|
|
||||||
corresponding to your transform of choice.
|
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
normal (no transforms) -> 0
|
normal (no transforms) -> 0
|
||||||
90 degrees -> 1
|
90 degrees -> 1
|
||||||
|
@ -197,18 +167,14 @@ flipped + 180 degrees -> 6
|
||||||
flipped + 270 degrees -> 7
|
flipped + 270 degrees -> 7
|
||||||
```
|
```
|
||||||
|
|
||||||
# Binding workspaces to a monitor
|
# Default workspace
|
||||||
|
|
||||||
A workspace can be bound to a monitor, meaning by default it will ALWAYS open
|
You can set the default workspace for a monitor with the `workspace` keyword, e.g.:
|
||||||
on the selected monitor. You can do this with
|
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
wsbind=WORKSPACE,MONITOR
|
workspace = DP-1, 1
|
||||||
|
workspace = DP-2, name:work
|
||||||
```
|
```
|
||||||
|
|
||||||
for example:
|
Please remember only one default workspace can be created per monitor, subsequent sets for
|
||||||
|
the same monitor will overwrite the previous.
|
||||||
```ini
|
|
||||||
wsbind=5,DP-1
|
|
||||||
wsbind=name:secret,DP-2
|
|
||||||
```
|
|
Loading…
Reference in a new issue