wm

package
v0.0.0-...-d5d49ed Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2016 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WM = map[string]WallpaperSetter{
	"Metacity (Marco)": new(MateWallpaperSetter),
	"Xfwm4":            new(XFCE4WallpaperSetter),
	"Gnome3":           new(Gnome3WallpaperSetter),
	"Gala":             new(Gnome3WallpaperSetter),
	"Kwin":             new(KDE4WallpaperSetter),
	"Mutter (Muffin)":  new(CinnamonWallpaperSetter),
	"Compiz":           new(Gnome3WallpaperSetter),
}

Functions

func GetDisplayNames

func GetDisplayNames() []string

func GetWMName

func GetWMName() string

Types

type CinnamonWallpaperSetter

type CinnamonWallpaperSetter struct{}

func (*CinnamonWallpaperSetter) Set

func (c *CinnamonWallpaperSetter) Set(path string)

type Gnome3WallpaperSetter

type Gnome3WallpaperSetter struct{}

func (*Gnome3WallpaperSetter) Set

func (g *Gnome3WallpaperSetter) Set(path string)

type KDE4WallpaperSetter

type KDE4WallpaperSetter struct{}

func (*KDE4WallpaperSetter) Set

func (k *KDE4WallpaperSetter) Set(path string)

type MateWallpaperSetter

type MateWallpaperSetter struct{}

func (*MateWallpaperSetter) Set

func (m *MateWallpaperSetter) Set(path string)

type WallpaperSetter

type WallpaperSetter interface {
	Set(path string)
}

func BuildSetter

func BuildSetter() (w WallpaperSetter)

type XFCE4WallpaperSetter

type XFCE4WallpaperSetter struct{}

func (*XFCE4WallpaperSetter) Set

func (x *XFCE4WallpaperSetter) Set(path string)

Jump to

Keyboard shortcuts

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