Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Dock Dock `yaml:"dock_items"`
}

func Load

func Load(file string) (Config, error)

type Dock

type Dock struct {
	Apps     []string      `yaml:"apps,omitempty"`
	Others   []Folder      `yaml:"others,omitempty"`
	Settings *DockSettings `yaml:"settings,omitempty"`
}

type DockSettings

type DockSettings struct {
	TileSize              any  `yaml:"tilesize"`
	LargeSize             any  `yaml:"largesize"`
	Magnification         bool `yaml:"magnification"`
	MinimizeToApplication bool `yaml:"minimize-to-application"`
	AutoHide              bool `yaml:"autohide"`
	ShowRecents           bool `yaml:"show-recents"`
	SizeImmutable         bool `yaml:"size-immutable"`
}

type Folder

type Folder struct {
	Path    string `yaml:"path,omitempty"`
	Sort    int    `yaml:"sort,omitempty"`
	Display int    `yaml:"display,omitempty"`
	View    int    `yaml:"view,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL