Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `toml:"server"`
Player PlayerConfig `toml:"player"`
Theme ThemeConfig `toml:"theme"`
Keybinds KeybindsConfig `toml:"keybinds"`
}
type KeybindsConfig ¶
type KeybindsConfig struct {
Quit string `toml:"quit"`
PlayPause string `toml:"play_pause"`
SeekForward string `toml:"seek_forward"`
SeekBackward string `toml:"seek_backward"`
NextInQueue string `toml:"next_in_queue"`
SpeedUp string `toml:"speed_up"`
SpeedDown string `toml:"speed_down"`
VolumeUp string `toml:"volume_up"`
VolumeDown string `toml:"volume_down"`
NextChapter string `toml:"next_chapter"`
PrevChapter string `toml:"prev_chapter"`
SleepTimer string `toml:"sleep_timer"`
Back string `toml:"back"`
}
type PlayerConfig ¶
type ServerConfig ¶
type ServerConfig struct {
Address string `toml:"address"`
}
type ThemeConfig ¶
type ThemeConfig struct {
Background string `toml:"background"`
Foreground string `toml:"foreground"`
Accent string `toml:"accent"`
Error string `toml:"error"`
Muted string `toml:"muted"`
Selected string `toml:"selected"`
Border string `toml:"border"`
Warning string `toml:"warning"`
Info string `toml:"info"`
}
Click to show internal directories.
Click to hide internal directories.