desktop

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 2 Imported by: 0

README

Desktop

A simple Go library to read Linux .desktop files.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
}

type File

type File struct {
	Base *ini.File
}

func (File) Exec

func (f File) Exec() string

func (File) ValueWithLocale

func (f File) ValueWithLocale(key string, lang, country, modifier string) ini.Value

Get's the value with the given key under the particular Locale. If the given locale is not present, tries to find the best fit. Must specify key and lang.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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