config

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(config *Config)

Save writes config to ~/.config/scout/scout-config.json

Types

type Config

type Config struct {
	RootPath       string            `json:"root_path"`
	Bookmarks      []string          `json:"bookmarks"`
	ShowHidden     bool              `json:"show_hidden"`
	PreviewEnabled bool              `json:"preview_enabled"`
	Editor         string            `json:"editor"`
	Frecency       map[string]int    `json:"frecency"`
	LastVisited    map[string]string `json:"last_visited"` // path -> timestamp
}

Config holds all Scout configuration

func Load

func Load() *Config

Load reads config from ~/.config/scout/scout-config.json

Jump to

Keyboard shortcuts

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