Documentation
¶
Overview ¶
Package config reads lys-wm's YAML config into validated types. Every error names the file, the line and the key.
Index ¶
Constants ¶
View Source
const ( SourceBuiltIn = "built-in" SourceConfig = "config" SourceRuntime = "runtime" )
View Source
const RuntimeFile = "runtime.yaml"
Variables ¶
View Source
var Default []byte
Functions ¶
Types ¶
type Config ¶
type Config struct {
File string
Warnings []error
Keyboard xkb.Names
DeviceKeyboards map[string]xkb.Names
DeviceOutputs map[string]wm.OutputMatch
RepeatRate int32
RepeatDelay int32
StickyKeys bool
SlowKeys time.Duration
NumLock bool
Input session.InputConfig
Cursor compositor.CursorBehavior
Outputs compositor.OutputRules
VirtualOutputs []compositor.VirtualOutput
ColorManagement bool
ClientHotkeys bool
HiddenFrame time.Duration
PowerSaverRate int
HoldOpening bool
Decor compositor.Decor
Font string
IconTheme string
WM wm.Settings
Binds []Bind
Rules []wm.Rule
Env [][2]string
Autostart []string
Xwayland bool
ZeroScaling bool
GPU string
Tearing bool
LidSuspend bool
Animations anim.Table
LayerRules []wm.LayerRule
WorkspaceRules []compositor.WorkspaceRule
Swallow compositor.Swallow
Gestures compositor.Gestures
HotCorners compositor.HotCorners
Overview compositor.OverviewStyle
Switcher compositor.SwitcherStyle
Slower map[render.Speed]compositor.Effects
// contains filtered or unexported fields
}
func (Config) Compositor ¶
Click to show internal directories.
Click to hide internal directories.