package niri import "encoding/json" type LayerSurface struct { Namespace string `json:"namespace"` Output OutputName `json:"output"` Layer Layer `json:"layer"` KeyboardInteractivity LayerSurfaceKeyboardInteractivity `json:"keyboard_interactivity"` } func (m LayerSurface) String() string { data, _ := json.MarshalIndent(m, "", "\t") return string(data) } type Layer string const ( LayerBackground Layer = "Background" LayerBottom Layer = "Bottom" LayerTop Layer = "Top" LayerOverlay Layer = "Overlay" ) type LayerSurfaceKeyboardInteractivity string const ( KeyboardInteractivityNone LayerSurfaceKeyboardInteractivity = "None" KeyboardInteractivityExclusive LayerSurfaceKeyboardInteractivity = "Exclusive" KeyboardInteractivityOnDemand LayerSurfaceKeyboardInteractivity = "OnDemand" )