runner

package
v0.0.0-...-2d66ddf Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialDesktopModel

func InitialDesktopModel() tea.Model

InitialDesktopModel returns a runner model populated from freedesktop desktop entries.

func InitialModel

func InitialModel() tea.Model

InitialModel returns an app runner model populated from PATH.

Types

type DesktopModel

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

func (DesktopModel) Init

func (m DesktopModel) Init() tea.Cmd

func (DesktopModel) SelectedExec

func (m DesktopModel) SelectedExec() string

SelectedExec returns the Exec command of the selected desktop entry when Quit.

func (DesktopModel) Update

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

func (DesktopModel) View

func (m DesktopModel) View() string

type Model

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

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) SelectedPath

func (m Model) SelectedPath() string

SelectedPath returns the absolute path of the selected executable when Quit.

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