settings

package
v0.15.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package settings stores user preferences and desktop launcher state.

Index

Constants

View Source
const MaxWorkspaces = 3

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	EditorTabCompletion bool     `json:"editor.tab.completion"`
	Workspaces          []string `json:"workspaces,omitempty"`
}

func Load

func Load() (Settings, error)

func Update

func Update(update func(*Settings)) (Settings, error)

Update serializes launcher read-modify-write operations within the process.

func (*Settings) AddWorkspace

func (s *Settings) AddWorkspace(path string)

func (*Settings) RemoveWorkspace

func (s *Settings) RemoveWorkspace(path string)

Jump to

Keyboard shortcuts

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