Documentation ¶
Index ¶
Constants ¶
View Source
const ( SIZE_DEFAULT = "Default" SIZE_SMALL = "Small" SIZE_LARGE = "Large" )
Grid cards sizes.
View Source
const ( FILL_ZOOM = "Zoom Fill" FILL_SCALE = "Scale" FILL_CENTER = "Center" FILL_ORIGINAL = "Original" FILL_TILE = "Tile" )
wallpaper fill strategies.
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 ( ConfigFile string ConfigPath string ThumbnailsPath string )
Config files.
View Source
var (
FillStrategy = MyApp.Preferences().StringWithFallback("FillStrategy", FILL_ZOOM)
)
View Source
var (
GridSize = MyApp.Preferences().StringWithFallback("GridSize", SIZE_DEFAULT)
)
View Source
var Sizes map[string]Size = map[string]Size{ SIZE_LARGE: {Width: 195, Height: 175}, SIZE_DEFAULT: {Width: 115, Height: 105}, SIZE_SMALL: {Width: 90, Height: 80}, }
Functions ¶
func SetupEnvVariables ¶ added in v1.3.1
func SetupEnvVariables()
Thise are the used config files ~/.config/walldo/config.json (unix) ~/AppData/Local/walldo/config.json (windows)
Types ¶
Click to show internal directories.
Click to hide internal directories.