Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2023 v1.0.1 Apr 25, 2023 Changes in this version + const Version + var Desktop = os.Getenv("XDG_CURRENT_DESKTOP") + var DesktopSession = os.Getenv("DESKTOP_SESSION") + var ErrUnsupportedDE = errors.New("your desktop environment is not supported") + func Get() (string, error) — darwin/amd64, linux/amd64, windows/amd64 + func SetFromFile(file string, _ ...int) error — linux/amd64 + func SetFromFile(file string, desktop ...int) error — darwin/amd64 + func SetFromFile(filename string, _ ...int) error — windows/amd64 + func SetFromURL(url string) error + func SetMode(mode Mode) error — darwin/amd64, linux/amd64, windows/amd64 + type Mode int + const Center + const Crop + const Fit + const Span + const Stretch + const Tile