Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonPrefix ¶
CommonPrefix will find the longest common prefix in a slice of strings
func CommonSuffix ¶
CommonSuffix will find the longest common suffix in a slice of strings
Types ¶
type X11 ¶
type X11 struct {
// contains filtered or unexported fields
}
X11 or Xorg windowmanager detector
func (*X11) ExecutablesExists ¶
ExecutablesExists checks if executables associated with this backend exists in the PATH
func (*X11) Running ¶
Running examines environment variables to try to figure out if either i3 or an X session is running (DISPLAY will then be set)
func (*X11) SetMode ¶
SetMode will set the current way to display the wallpaper (stretched, tiled etc)
func (*X11) SetVerbose ¶
SetVerbose can be used for setting the verbose field to true or false. This will cause this backend to output information about what is is doing on stdout.
func (*X11) SetWallpaper ¶
SetWallpaper sets the desktop wallpaper, given an image filename. The image must exist and be readable.