Documentation
¶
Overview ¶
Package uistate persists Eta's small, versioned desktop intent state.
Index ¶
Constants ¶
View Source
const Version = 1
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
Types ¶
type Shortcut ¶
type Shortcut struct {
Name string `json:"name"`
Kind string `json:"kind"`
Root int `json:"root,omitempty"`
Path string `json:"path,omitempty"`
Peer string `json:"peer,omitempty"`
}
Shortcut is a location pinned to the desktop. It is intent, not a cached listing: the target is resolved when it is opened, so a shortcut to something since deleted simply fails to open.
type Window ¶
type Window struct {
Kind string `json:"kind"`
Root int `json:"root,omitempty"`
Path string `json:"path,omitempty"`
Peer string `json:"peer,omitempty"`
X int `json:"x,omitempty"`
Y int `json:"y,omitempty"`
Width int `json:"width,omitempty"`
Height int `json:"height,omitempty"`
Minimized bool `json:"minimized,omitempty"`
Maximized bool `json:"maximized,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.