variables: Simple cm settings (#991)

* Update Variables.md

* Update Monitors.md

* Update Monitors.md
This commit is contained in:
UjinT34 2025-03-17 00:52:57 +03:00 committed by GitHub
parent 9cb962b5bc
commit f0dd6c2e0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 2 deletions

View file

@ -217,6 +217,31 @@ Some applications do _not_ support screen capture with 10 bit enabled.
{{< /callout >}}
### Color management presets
Add a `, cm, X` to change default sRGB output preset
```ini
monitor = eDP-1, 2880x1800@90, 0x0, 1, bitdepth, 10, cm, wide
```
```plain
auto - srgb for 8bpc, wide for 10bpc if supported (recommended)
srgb - sRGB primaries (default)
wide - wide color gamut, BT2020 primaries
edid - primaries from edid (known to be inaccurate)
hdr - wide color gamut and HDR PQ transfer function (experimental)
hdredid - same as hdr with edid primaries (experimental)
```
Fullscreen HDR is possible without hdr `cm` setting if `render:cm_fs_passthrough` is enabled.
Use `sdrbrightness, B` and `sdrsaturation, S` to control SDR brighness and saturation in HDR mode. The default for both values is `1.0`. Typical brightness value should be in `1.0 ... 2.0` range.
```ini
monitor = eDP-1, 2880x1800@90, 0x0, 1, bitdepth, 10, cm, hdr, sdrbrightness, 1.2, sdrsaturation, 0.98
```
### VRR
Per-display VRR can be done by adding `, vrr, X` where `X` is the mode from the

View file

@ -455,6 +455,7 @@ _Subcategory `group:groupbar:`_
| expand_undersized_textures | Whether to expand undersized textures along the edge, or rather stretch the entire texture. | bool | true |
| xp_mode | Disables back buffer and bottom layer rendering. | bool | false |
| ctm_animation | Whether to enable a fade animation for CTM changes (hyprsunset). 2 means "auto" which disables them on Nvidia. | int | 2 |
| cm_fs_passthrough | Passthrough color settings for fullscreen apps when possible | bool | true |
### Cursor
@ -489,8 +490,6 @@ _Subcategory `group:groupbar:`_
| name | description | type | default |
| --- | --- | --- | --- |
| wide_color_gamut | force wide color gamut for all supported outputs | bool | false |
| hdr | force static hdr for all supported outputs (for testing only, will result in oversaturated colors) | bool | false |
| xx_color_management_v4 | enable color management protocol | bool | false |
Requires a client with `frog-color-management-v1` or `xx-color-management-v4` support like gamescope or https://github.com/Zamundaaa/VK_hdr_layer
@ -534,6 +533,7 @@ Only for developers.
| error_position | sets the position of the error bar. top - 0, bottom - 1 | int | 0 |
| colored_stdout_logs | enables colors in the stdout logs. | bool | true |
| pass | enables render pass debugging. | bool | false |
| full_cm_proto | claims support for all cm proto features (requires restart) | bool | false |
### More