globals

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const SYS_OS = runtime.GOOS

Variables

View Source
var (
	OriginalImages []string
	Original_paths []string
	ResizedImages  []string
)
View Source
var (
	MyApp  = app.NewWithID("walldo")
	Window = MyApp.NewWindow("Walldo in go")
)

App initializers

View Source
var (
	GridSize   = MyApp.Preferences().StringWithFallback("GridSize", "default")
	GridTitles = MyApp.Preferences().StringWithFallback("GridTitles", "Borderless")
)

Grid config variables

View Source
var (
	LayoutStyle  = MyApp.Preferences().StringWithFallback("Layout", "Grid")
	FillStrategy = MyApp.Preferences().StringWithFallback("FillStrategy", "Zoom Fill")
)

Layout configs

View Source
var (
	ConfigDir, _ = os.UserHomeDir() // Home folder
	ConfigPath   = ConfigDir        // configs path
)

Config files

Functions

func SetGlobalValues

func SetGlobalValues()

Change config values depending on the OS ~/.config/walldo/config.json (unix) ~/AppData/Local/walldo/config.json (windows)

Types

This section is empty.

Jump to

Keyboard shortcuts

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