wallpaper

package
v1.0.260758 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolvePath

func ResolvePath(path string) string

ResolvePath maps builtin tokens and empty path to a loadable key.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

Cache holds a resized half-block wallpaper grid.

func (*Cache) Ensure

func (c *Cache) Ensure(wp config.Wallpaper, cols, rows int) []cell.Cell

Ensure returns cells for the desktop field (cols × rows), reencoding on change.

func (*Cache) Invalidate

func (c *Cache) Invalidate()

Invalidate forces reload on next Ensure.

Jump to

Keyboard shortcuts

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