Skip to content

osd ​

On-screen display overlay for transient events like volume and brightness.

General ​

FieldTypeDefaultDescription
enabledbooltrueShow OSD overlays for volume, brightness, keyboard layout switches, and lock keys (Caps, Num and Scroll Lock need read access to /dev/input, the input group, except on lys-wm, which reports them over its IPC).
positionOsdPosition"bottom"Screen anchor position.
text-alignOsdTextAlign"center"Horizontal alignment of toast and toggle overlay content. Sliders (volume/brightness) keep their own label+value layout.
durationu322500Auto-dismiss delay in milliseconds.
monitorOsdMonitor"primary"Target monitor: "primary" or a connector name like "DP-1".
marginSize1Margin from screen edges: a multiplier of the default 150px (1.0 = default) or absolute pixels (e.g. "150px").
borderbooltrueShow a border around the OSD.
layerLayer"overlay"Layer-shell layer the OSD is placed on.
presetsarray of ToastPreset[]Reusable toast presets, each triggerable with lys-shell toast --preset <id>.
More about layer

When general.tearing-mode is enabled, overlay is demoted to top to allow fullscreen tearing.

Default configuration ​

yaml
osd:
  enabled: true
  position: bottom
  text-align: center
  duration: 2500
  monitor: primary
  margin: 1.0
  border: true
  layer: overlay
  presets: []

Released under the MIT License.