autostart

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// Unique identifier for the app.
	Name string
	// The command to execute, followed by its arguments.
	Exec []string
	// The app name.
	DisplayName string
	// The app icon.
	Icon string
}

An application that will be started when the user logs in.

func (*App) Disable

func (a *App) Disable() error

Disable this app on startup.

func (*App) Enable

func (a *App) Enable() error

Enable this app on startup.

func (*App) IsEnabled

func (a *App) IsEnabled() bool

Check if the app is enabled on startup.

Jump to

Keyboard shortcuts

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