Config Reference

Viewport

Monitor viewport settings, output connector blocks, and focus-ring defaults.

Defaults

Defaults shown here are the effective builtin defaults from RuntimeTuning::builtin_defaults().

Default Config Shape

Use this as the section shape when editing halley.rune.

Viewport config
viewport:
  DP-1:
    enabled true
    offset-x 0
    offset-y 0
    width 2560
    height 1440
    rate 180.0
    transform 0
    vrr "on"

    focus-ring:
      primary-rx 820.0
      primary-ry 420.0
      offset-x 0
      offset-y 0
    end
  end
end

viewport

Global fallback viewport defaults and per-output blocks.

OptionTypeDefaultNotes
center-xf32derivedFallback global viewport center x. Derived from the first enabled output when outputs are configured; otherwise 0.0.
center-yf32derivedFallback global viewport center y. Derived from the first enabled output when outputs are configured; otherwise 0.0.
size-wf32derivedFallback global viewport width. Derived from the first enabled output when outputs are configured; otherwise 1920.0.
size-hf32derivedFallback global viewport height. Derived from the first enabled output when outputs are configured; otherwise 1080.0.
<connector>nested blocknonePer-output block such as DP-1: or HDMI-A-1:.

<connector>

Per-output settings for a configured monitor connector.

OptionTypeDefaultNotes
enabledbooltrueEnables or disables the output.
offset-xi320Output origin x in the global monitor layout.
offset-yi320Output origin y in the global monitor layout.
widthu32requiredOutput width in pixels.
heightu32requiredOutput height in pixels.
ratepositive f32unsetRefresh rate in Hz. When omitted, Halley uses the output default.
transformu320Output rotation. Accepted values: 0, 90, 180, 270.
vrrstringoffVariable refresh rate mode. Accepted values: off, on, on-demand.
focus-ringnested blockinheritedOptional per-output focus ring override.

<connector>.focus-ring

Per-output focus-ring override values.

OptionTypeDefaultNotes
primary-rxf32820.0Horizontal focus-ring radius for this output.
primary-ryf32420.0Vertical focus-ring radius for this output.
offset-xf320.0Focus-ring x offset on this output.
offset-yf320.0Focus-ring y offset on this output.

focus-ring

Global focus-ring radius and offset defaults.

OptionTypeDefaultNotes
primary-rxf32820.0Global focus-ring horizontal radius. Aliases like rx and radius-x are also accepted.
primary-ryf32420.0Global focus-ring vertical radius. Aliases like ry and radius-y are also accepted.
offset-xf320.0Global focus-ring x offset.
offset-yf320.0Global focus-ring y offset.