Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger zerolog.Logger
View Source
var Styles styles
Functions ¶
This section is empty.
Types ¶
type Colors ¶
type Colors struct { CursorBackground string `mapstructure:"cursor_background" default:"#5e8d87"` CursorForeground string `mapstructure:"cursor_foreground" default:"#d7d8d9"` InactiveCursorBackground string `mapstructure:"inactive_cursor_background" default:"#686868"` InactiveCursorForeground string `mapstructure:"inactive_cursor_foreground" default:"#b7b8b9"` Foreground string `mapstructure:"foreground" default:"#b7b8b9"` ForegroundAlternate string `mapstructure:"foreground_alternate" default:"#a0a0a0"` ActiveBorder string `mapstructure:"active_border" default:"#5e8d87"` PassiveBorder string `mapstructure:"passive_border" default:"#a0a0a0"` }
type Configuration ¶
type Configuration struct { LogPath string `mapstructure:"log_path" default:""` LogLevel string `mapstructure:"log_level" default:"warn"` MpdHost string `mapstructure:"mpd_host" default:"127.0.0.1"` MpdPort string `mapstructure:"mpd_port" default:"6600"` MpdPassword string `mapstructure:"mpd_password" default:""` Keys Keys `mapstructure:"keys"` Symbols Symbols `mapstructure:"symbols"` Colors Colors `mapstructure:"colors"` MinColumnWidth int `mapstructure:"min_column_width" default:"90"` }
var Config Configuration
type GeneralKeys ¶
type GeneralKeys struct { Quit string `mapstructure:"quit" default:"q"` GoToStart string `mapstructure:"go_to_start" default:"g"` GoToEnd string `mapstructure:"go_to_end" default:"G"` GoToNextMatch string `mapstructure:"go_to_next_match" default:"n"` Up string `mapstructure:"up" default:"up"` Down string `mapstructure:"down" default:"down"` MoveItemUp string `mapstructure:"move_item_up" default:"<"` MoveItemDown string `mapstructure:"move_item_down" default:">"` RemoveItem string `mapstructure:"remove_item" default:"delete"` SwitchColumn string `mapstructure:"switch_column" default:"tab"` Search string `mapstructure:"search" default:"/"` PlayNext string `mapstructure:"play_next" default:"a"` Append string `mapstructure:"append" default:"A"` PlaylistAppend string `mapstructure:"playlist_append" default:"p"` Save string `mapstructure:"save_playlist" default:"s"` PlayToggle string `mapstructure:"play_toggle" default:" "` }
type Keys ¶
type Keys struct { General GeneralKeys `mapstructure:"general"` Library LibraryKeys `mapstructure:"library"` Queue QueueKeys `mapstructure:"queue"` Playlist PlaylistKeys `mapstructure:"playlist"` }
type LibraryKeys ¶
type PlaylistKeys ¶
Click to show internal directories.
Click to hide internal directories.