config

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CONFIG_FILE = ".config/ws-cli.toml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Dir            string   `toml:"dir"`
	MaxDepth       int      `toml:"max_depth"`
	FollowSymlinks bool     `toml:"follow_symlinks"`
	DefaultIcon    string   `toml:"default_icon"`
	Marker         []string `toml:"marker"`
	Icons          []Icon   `toml:"icon"`
}

func ReadConfig

func ReadConfig() (*Config, error)

type Icon

type Icon struct {
	Priority int    `toml:"priority"`
	Match    string `toml:"match"`
	Icon     string `toml:"icon"`
}

Jump to

Keyboard shortcuts

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