apply

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdditionalOptions

func AdditionalOptions(appsFolderPath string, flags Flag)

AdditionalOptions .

func UserAsset added in v0.8.0

func UserAsset(appsFolderPath, themeFolder string)

UserAsset .

func UserCSS

func UserCSS(appsFolderPath, themeFolder string, scheme map[string]string)

UserCSS creates user.css file in "zlink", "login" and "settings" apps. To not use custom css, set `themeFolder` to blank string To use default color scheme, set `scheme` to `nil`

Types

type Flag

type Flag struct {
	ExperimentalFeatures utils.TernaryBool
	FastUserSwitching    utils.TernaryBool
	Home                 utils.TernaryBool
	LyricAlwaysShow      utils.TernaryBool
	LyricForceNoSync     utils.TernaryBool
	Radio                utils.TernaryBool
	SongPage             utils.TernaryBool
	VisHighFramerate     utils.TernaryBool
	Extension            []string
	CustomApp            []string
}

Flag enables/disables additional feature

Jump to

Keyboard shortcuts

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