Documentation
¶
Overview ¶
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Copyright © 2021 Arghya Sarkar <arghyasarkar.nolan@gmail.com>
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFileExists ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetUserConfig ¶
func InitConfig ¶
func InitConfig()
Types ¶
type Build ¶
type Build struct { Target string `json:"target"` // wallpaper search terms for unsplash Destination string `json:"destination"` // wallpaper resolution, defaults to 1600x900 Action string `json:"action"` // whether change wallpaper after a duration Instructions []string `json:"build_instructions"` // if wallpaper has to be changed, then after how many minutes }
type ConfigData ¶
type Configuration ¶
type Configuration struct {
UserName, Email string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.