settings

package
v0.0.0-...-0175fa8 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2018 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Folder to save images too defaults to RandomWP in pictures fodler
	SaveFolder string
	// Save current image to given folder (Defaults: Desktop)
	SaveCurrentImageFolder string
	// cats specifies the enabled wallpaper categories.
	Category GoHaven.Categories
	// purity specifies the enabled purity modes.
	Purity GoHaven.Purity

	// ratios specifies the enabled aspect rations.
	Ratio GoHaven.Ratios
	// Auto start on boot
	AutoStart bool
	// Send notifications when desktop background changes (Buggy feature)
	Notify bool
	// How many seondds to wait before setting the next wallpaper
	Delay int64
	// Auto delete the image that was set...
	AutoDelete bool
	// Last Image ID
	LastImageID GoHaven.ID
	// contains filtered or unexported fields
}

func New

func New(confFile string) *Config

func (*Config) Load

func (conf *Config) Load()

func (*Config) Save

func (conf *Config) Save()

Jump to

Keyboard shortcuts

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