config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArtDir

func ArtDir() string

ArtDir returns the directory where art packs are stored.

func EnsureDirs

func EnsureDirs() error

EnsureDirs creates the root and art directories if they don't exist.

func LastFile

func LastFile() string

LastFile returns the path to the state file that records the last displayed file.

func Root

func Root() string

Root returns the canonical root directory for ansimotd. Priority: ANSIMOTD_DIR > XDG_CONFIG_HOME/ansimotd > ~/.config/ansimotd

Types

This section is empty.

Jump to

Keyboard shortcuts

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