# ── connection ──
mpd_host = localhost
mpd_port = 6600
mpd_music_dir = /mnt/tank/music
mpd_connection_timeout = 5
mpd_crossfade_time = 2

# ── theme: dracula ──
# Colors resolve through kitty's dracula palette:
#   blue→#bd93f9 (purple)  magenta→#ff79c6 (pink)  8→#6272a4 (gray)
#   cyan→#8be9fd  green→#50fa7b  yellow→#f1fa8c  white→#f8f8f2
colors_enabled = yes
empty_tag_color = 8
header_window_color = magenta
volume_color = green
state_line_color = default
state_flags_color = magenta:b
alternative_ui_separator_color = 8
main_window_color = white
statusbar_color = 8
statusbar_time_color = magenta:b
player_state_color = magenta:b
window_border_color = 8

# currently-playing row: bold purple; inactive column: cyan
# (default is reverse-video yellow — hard to see on dracula)

# playlist cursor: pink background strip — clearly distinct from
# the bold-purple "now playing" row above

# ── startup & behavior ──
startup_screen = media_library
# left column groups by Album Artist
media_library_primary_tag = album_artist
# keep the cursor (▶ cyan row) visible forever, not just 5s
playlist_disable_highlight_delay = 0

# ── row semantics (dracula) ──
# cursor = bold cyan + arrow, now playing = bold pink, multiselect = default magenta
current_item_prefix = "▶ $(cyan)$b"
current_item_suffix = $/b$9
current_item_inactive_column_prefix = "$(cyan)$b"
current_item_inactive_column_suffix = $/b$9
now_playing_prefix = "$(magenta)$b"
now_playing_suffix = $/b$9

# ── row semantics (dracula) ──
autocenter_mode = yes
centered_cursor = yes
display_bitrate = yes

# ── library columns ──
song_columns_list_format = "(30)[blue]{a} (40)[white]{t|f:Title} (25)[magenta]{b} (7)[green]{l}"

# ── progress bar ──
progressbar_look = "▪▫▪"
progressbar_color = 8
progressbar_elapsed_color = blue:b

# ── visualizer (view 8) ──
visualizer_data_source = /tmp/mpd.fifo
visualizer_output_name = Visualizer FIFO
visualizer_type = spectrum
visualizer_in_stereo = yes
visualizer_color = blue, cyan, green, magenta, red
# spectrum: purple → cyan → green → pink → red (no yellow)

# ── lyrics ──
lyrics_fetchers = genius

# ── notifications (uncomment to enable) ──
execute_on_song_change = /home/liph/dotfiles/scripts/scripts/mpd-notify.sh
