Config Reference

Gamescope

Gamescope launch defaults and per-game profile overrides.

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.

Gamescope config
gamescope:
  enabled true
  monitor "focused"
  output-width "auto"
  output-height "auto"
  game-width "auto"
  game-height "auto"
  refresh "auto"
  fullscreen true
  borderless false
  suppress-overlays true
  passthrough-pointer-lock true
  bypass-spatial-camera true

  game:
    name "Example Game"
    app-id "steam_app_123456"
    enabled true
  end
end

gamescope

Defaults for launching selected games through gamescope from halleyctl.

OptionTypeDefaultNotes
enabledbooltrueEnables gamescope wrapping for matching launches.
monitorstringfocusedMonitor selector used for automatic dimensions. Accepted values: focused, cursor, primary, or a connector name.
output-widthu32 or autoautoGamescope output width. auto resolves from the selected monitor when possible.
output-heightu32 or autoautoGamescope output height. auto resolves from the selected monitor when possible.
game-widthu32 or autoautoInternal game width passed to gamescope.
game-heightu32 or autoautoInternal game height passed to gamescope.
refreshu32 or autoautoRefresh rate passed to gamescope when known.
fullscreenbooltrueLaunches gamescope fullscreen. Fullscreen wins if both fullscreen and borderless are true.
borderlessboolfalseLaunches gamescope borderless when fullscreen is false.
suppress-overlaysbooltrueSuppresses Halley overlay reveals while a managed game holds pointer lock or confinement.
passthrough-pointer-lockbooltruePreserves game pointer lock behavior for wrapped launches.
bypass-spatial-camerabooltrueRoutes pointer input to gamescope-managed surfaces without spatial-camera remapping.
gamenested blocknoneRepeated per-game profile block. Profiles match by app-id and inherit global defaults.

game

Per-game Gamescope overrides matched by app id.

OptionTypeDefaultNotes
namestringoptionalHuman-readable profile name.
app-idstringrequiredSteam or app id matched by halleyctl gamescope run.
enabledboolinheritedSet false to opt a matching game out of wrapping.
monitorstringinheritedProfile-specific monitor selector.
output-widthu32 or autoinheritedProfile-specific gamescope output width.
output-heightu32 or autoinheritedProfile-specific gamescope output height.
game-widthu32 or autoinheritedProfile-specific internal game width.
game-heightu32 or autoinheritedProfile-specific internal game height.
refreshu32 or autoinheritedProfile-specific refresh rate.
fullscreenboolinheritedProfile-specific fullscreen flag.
borderlessboolinheritedProfile-specific borderless flag.