globals

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const SYS_OS = runtime.GOOS

Variables

View Source
var (
	ImagesList []string
	Thumbnails []string
)
View Source
var (
	MyApp        = app.NewWithID("walldo")
	Window       = MyApp.NewWindow("Walldo in go")
	WindowHeight = 600
	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 configs

View Source
var (
	ConfigFile     string
	ConfigPath     string
	ThumbnailsPath string
)

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