background

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDEUnsupported means that I haven't gotten around to implementing
	// the desktop environment you're using. Submit an issue!
	ErrDEUnsupported = errors.New("desktop environment not supported and `feh` not found in PATH. Consider submitting a pull request at github.com/avinashbot/satellite")

	// CustomDesktop is populated with a preferred desktop environment for linux
	// only.
	CustomDesktop string
)

Functions

func DownloadOnly added in v0.4.1

func DownloadOnly(img image.Image, absPath string) error

DownloadOnly just downloads the file to the given path. Doesn't set anything.

func PlatformDownload added in v0.4.1

func PlatformDownload(img image.Image) (string, error)

PlatformDownload dowloads the image to the preferred location for the platform and returns the path it downloaded to.

func Set

func Set(absPath string) error

Set the background on linux.

Types

This section is empty.

Jump to

Keyboard shortcuts

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