globals

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SYS_OS = runtime.GOOS

Variables

View Source
var (
	MyApp        = app.NewWithID("walldo")
	Window       = MyApp.NewWindow("Walldo in go")
	WindowHeight = MyApp.Preferences().FloatWithFallback("WindowHeight", 600)
	WindowWidth  = MyApp.Preferences().FloatWithFallback("WindowWidth", 1020)
)

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 styles

View Source
var (
	ConfigFile     string
	ConfigPath     string
	ThumbnailsPath string
)

Config files

Functions

func SetupEnvVariables added in v1.3.1

func SetupEnvVariables()

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