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.
Click to show internal directories.
Click to hide internal directories.