app

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VERSION = `desktop500px v0.3.1`
)

Variables

View Source
var (
	Debug = false

	AppDir     = path.Join(os.Getenv("HOME"), ".desktop500px")
	PictureDir = path.Join(AppDir, "img")
	KeyFile    = path.Join(AppDir, "key.json")
)

Functions

func ApplyDesktop

func ApplyDesktop(picture string, index int)

func Cmd

func Cmd(name string, arg ...string) (stdout string, err error)

func GenerateFilePaths

func GenerateFilePaths(count int) *[]string

Fix Mac desktop picture cache by dynamic picture name

func GetDesktopCount

func GetDesktopCount() int

func Install

func Install()

func Osascript

func Osascript(script string) (stdout string)

func Reinstall

func Reinstall()

func Trace

func Trace(arg ...interface{})

func Uninstall

func Uninstall()

Types

This section is empty.

Jump to

Keyboard shortcuts

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