dms

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppState

type AppState int
const (
	StateMainMenu AppState = iota
	StateUpdate
	StateUpdatePassword
	StateUpdateProgress
	StateShell
	StatePluginsMenu
	StatePluginsBrowse
	StatePluginDetail
	StatePluginSearch
	StatePluginsInstalled
	StatePluginInstalledDetail
	StateGreeterMenu
	StateGreeterCompositorSelect
	StateGreeterPassword
	StateGreeterInstalling
	StateAbout
)

type DependencyInfo

type DependencyInfo struct {
	Name        string
	Status      deps.DependencyStatus
	Description string
	Required    bool
}

type Detector

type Detector struct {
	// contains filtered or unexported fields
}

func NewDetector

func NewDetector() (*Detector, error)

func (*Detector) GetDependencyStatus

func (d *Detector) GetDependencyStatus() ([]deps.Dependency, error)

func (*Detector) GetDistribution

func (d *Detector) GetDistribution() distros.Distribution

func (*Detector) GetInstalledComponents

func (d *Detector) GetInstalledComponents() []DependencyInfo

func (*Detector) GetWindowManagerStatus

func (d *Detector) GetWindowManagerStatus() (bool, bool, error)

func (*Detector) IsDMSInstalled

func (d *Detector) IsDMSInstalled() bool
type MenuItem struct {
	Label  string
	Action AppState
}

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(version string) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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