config

package
v0.0.0-...-e715f5b Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPort = 5115

Variables

View Source
var (
	ChubHost string
	ChubPort int
)
View Source
var (
	ColorCursor       ncurses.Char
	ColorCursorActive ncurses.Char
	ColorList         ncurses.Char
	ColorListActive   ncurses.Char
	ColorMessage      ncurses.Char
	ColorNormal       ncurses.Char
	ColorStatus       ncurses.Char
	ColorTitle        ncurses.Char
)
View Source
var (
	FormatBrowserDir    string
	FormatBrowserTrack  string
	FormatStatusPaused  string
	FormatStatusPlaying string
	FormatTitle         string
)

Functions

func Load

func Load() error

func LoadPath

func LoadPath() (string, error)

func SavePath

func SavePath(s string) error

Types

type Cmd

type Cmd string
const (
	CmdApply        Cmd = "apply"
	CmdBack         Cmd = "back"
	CmdDown         Cmd = "down"
	CmdEnd          Cmd = "end"
	CmdHome         Cmd = "home"
	CmdKill         Cmd = "kill"
	CmdNoop         Cmd = "noop"
	CmdPageDown     Cmd = "page-down"
	CmdPageUp       Cmd = "page-up"
	CmdPause        Cmd = "pause"
	CmdPlay         Cmd = "play"
	CmdQuit         Cmd = "quit"
	CmdSearch       Cmd = "search"
	CmdSearchNext   Cmd = "search-next"
	CmdSearchPrev   Cmd = "search-prev"
	CmdSeekBackward Cmd = "seek-backward"
	CmdSeekForward  Cmd = "seek-forward"
	CmdShowActive   Cmd = "show-active"
	CmdStop         Cmd = "stop"
	CmdUp           Cmd = "up"
	CmdVolumeDown   Cmd = "volume-down"
	CmdVolumeUp     Cmd = "volume-up"
)

func Command

func Command(key ncurses.Key) Cmd

Jump to

Keyboard shortcuts

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