utils

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Paquete que se encarga de leer, administrar y actualizar las configuraciones

del usuario

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteCards added in v1.2.7

func CompleteCards(c *fyne.Container)

fills the container with the correspondent content

func DefineLayout added in v1.2.7

func DefineLayout() fyne.Layout

Fill the grid with images and refresh the container on each step

func GetConfiguredPaths added in v1.2.4

func GetConfiguredPaths() []string

Return all folders configured by the user in the configuration file

func GetCurrentWallpaper

func GetCurrentWallpaper() (string, error)

returns the current wallpaper

func SetConfig added in v1.2.4

func SetConfig(paths string) *os.File

Creates the config folder and the config.json if is not created yet

func SetWallpaper

func SetWallpaper(imageDir string) error

func WallpaperFitMode added in v1.2.0

func WallpaperFitMode() wallpaper.Mode

Types

type Path

type Path struct {
	Paths []string
}

Jump to

Keyboard shortcuts

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