hyprsettings_utils

package
v0.0.0-...-6c45f01 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup()

func DisplayPage

func DisplayPage(page Page, breadcrumbs *[]string, message *string)

func InitHyprSettings

func InitHyprSettings()

Types

type BoolSetting

type BoolSetting struct {
	DefaultVal bool
}

type ColorSetting

type ColorSetting struct {
	DefaultVal string
}

type FloatSetting

type FloatSetting struct {
	DefaultVal float64
	Minimum    float64
	Maximum    float64
}

type GradientSetting

type GradientSetting struct {
	DefaultVal string
}

type Info

type Info struct {
	Paragraph []string
}

type IntSetting

type IntSetting struct {
	DefaultVal int
	Minimum    int
	Maximum    int
}

type ListSetting

type ListSetting struct {
	Options []string
}

type Page

type Page struct {
	Title       string
	Description string
	PageType    string // "page", "int", "float", "string", "bool", "list"
	Setting     Setting
	Child       []Page
}

type Setting

type Setting struct {
	Section         string
	Variable        string
	StringSetting   StringSetting
	BoolSetting     BoolSetting
	IntSetting      IntSetting
	FloatSetting    FloatSetting
	ColorSetting    ColorSetting
	GradientSetting GradientSetting
	ListSetting     ListSetting
	Info            Info
}

type StringSetting

type StringSetting struct {
	DefaultVal string
}

Jump to

Keyboard shortcuts

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