Skip to content

Displays

Which screens are on, where they sit, their scale, HDR and night mode.

After the first login, every screen is on at its preferred mode. With two screens, workspaces 1 to 5 are on the main one and 6 to 10 on the other.

The files below are in ~/.config/hypr/. A missing file means the defaults. A change applies on save.

Press Super + O and pick on the wheel: both screens, the laptop’s only, or the external one only. See Roue.

The wheel writes display-layout.json, which can be edited too:

{ "mode": "both", "main": "internal" }
Key Values Default
mode both, internal, external both
main internal or external: the screen that holds workspaces 1 to 5 internal

internal is the laptop’s panel, external any other screen.

Edit monitor-layout.json:

{ "grid": [["external", "internal"]], "align": "center" }
Key Values Default
grid Rows of screens, left to right. One row puts them side by side; one screen per row stacks them. null leaves a gap one row, external screens then the laptop’s
align start, center or end: where a smaller screen sits beside a larger one center

A second and a third external screen are external2 and external3:

{ "grid": [["external", "external2"], ["internal", null]] }

To swap the laptop and the external screen:

Terminal window
~/.config/scripts/display-layout.sh swap

Edit scale.json:

{ "internal": 1.25, "external": 1 }
Key Values Default
internal The laptop panel’s scale 1
external The scale of every external screen 1

Turn HDR on or off from the HDR tile in Balise, for the screen the drawer is on. hdr shows in the bar while it’s on.

Each screen keeps its own setting.

Terminal window
~/.config/hypr/scripts/hdr.sh debug # what the screen and Hyprland agreed on

Super + N, or the Night mode tile in Balise, warms the colours until turned off.

The warmth is 4900 K. To change it, edit the --temperature value in toggle-night-mode.sh: lower is warmer.

The brightness keys and the slider in Balise. Brightness never reaches 0. On an OLED panel whose keys do nothing, see hardware.