desktopentry

package
v0.0.0-...-d9f0f94 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintEntries

func PrintEntries(entries []DesktopEntry)

Just to see the entries better

Types

type Cache

type Cache struct {
	Entries     []DesktopEntry
	LatestCache time.Time
}

type DesktopEntry

type DesktopEntry struct {
	Path     string
	Exec     string
	Name     string
	Hide     bool
	Terminal bool
}

might need to populate this struct later

func CacheEntries

func CacheEntries() ([]DesktopEntry, error)

checks cache writing/reading sequence

func (DesktopEntry) Print

func (de DesktopEntry) Print()

func (DesktopEntry) Run

func (de DesktopEntry) Run()

Jump to

Keyboard shortcuts

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