init commit
This commit is contained in:
22
internal/config/defaults.go
Normal file
22
internal/config/defaults.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package config
|
||||
|
||||
import "time"
|
||||
|
||||
// Default configuration values
|
||||
const (
|
||||
DefaultSeekStep = 5 * time.Second
|
||||
DefaultBigSeekStep = 30 * time.Second
|
||||
DefaultVolume = 1.0
|
||||
DefaultEditor = "vim"
|
||||
)
|
||||
|
||||
// DefaultConfig returns the default configuration
|
||||
func DefaultConfig() Config {
|
||||
return Config{
|
||||
SeekStep: DefaultSeekStep,
|
||||
BigSeekStep: DefaultBigSeekStep,
|
||||
Volume: DefaultVolume,
|
||||
Theme: "default",
|
||||
Editor: DefaultEditor,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user