config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package config loads, stores, and provides default values for work and break tasks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() error

func ProgramOptions

func ProgramOptions() []tea.ProgramOption

func Save

func Save() error

Save writes the current configuration to file.

Types

type Config

type Config struct {
	Work       Task
	Break      Task
	FullScreen bool
}
var C Config

type Task

type Task struct {
	Duration time.Duration
	Then     []string
}

Jump to

Keyboard shortcuts

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