From 21b7ef02eb7e634b3c1ea529621737d514b6230b Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Thu, 4 Jan 2024 14:54:55 +0100 Subject: [PATCH] ncmpcpp: add dual-panes --- config/ncmpcpp/config | 81 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 79 insertions(+), 2 deletions(-) diff --git a/config/ncmpcpp/config b/config/ncmpcpp/config index 96222608..423fb173 100644 --- a/config/ncmpcpp/config +++ b/config/ncmpcpp/config @@ -1,8 +1,77 @@ +##### song format ##### +## +## For a song format you can use: +## +## %l - length +## %f - filename +## %D - directory +## %a - artist +## %A - album artist +## %t - title +## %b - album +## %y - date +## %n - track number (01/12 -> 01) +## %N - full track info (01/12 -> 01/12) +## %g - genre +## %c - composer +## %p - performer +## %d - disc +## %C - comment +## %P - priority +## $R - begin right alignment +## +## If you want to make sure that a part of the format is displayed +## only when certain tags are present, you can archieve it by +## grouping them with brackets, e.g. '{%a - %t}' will be evaluated +## to 'ARTIST - TITLE' if both tags are present or '' otherwise. +## It is also possible to define a list of alternatives by providing +## several groups and separating them with '|', e.g. '{%t}|{%f}' +## will be evaluated to 'TITLE' or 'FILENAME' if the former is not +## present. +# +## Note: If you want to set limit on maximal length of a tag, just +## put the appropriate number between % and character that defines +## tag type, e.g. to make album take max. 20 terminal cells, use '%20b'. +## +## In addition, formats support markers used for text attributes. +## They are followed by character '$'. After that you can put: +## +## - 0 - default window color (discards all other colors) +## - 1 - black +## - 2 - red +## - 3 - green +## - 4 - yellow +## - 5 - blue +## - 6 - magenta +## - 7 - cyan +## - 8 - white +## - 9 - end of current color +## - b - bold text +## - u - underline text +## - r - reverse colors +## - a - use alternative character set +## +## If you don't want to use a non-color attribute anymore, just put it +## again, but this time insert character '/' between '$' and attribute +## character, e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag +## or filename with reversed colors. +## +## If you want to use 256 colors and/or background colors in formats +## (the naming scheme is described below in section about color +## definitions), it can be done with the syntax $(COLOR), e.g. to set +## the artist tag to one of the non-standard colors and make it have +## yellow background, you need to write $(197_yellow)%a$(end). Note +## that for standard colors this is interchangable with attributes +## listed above. +## +## Note: colors can be nested. + + visualizer_output_name = mpdFIFO visualizer_fps = 60 visualizer_in_stereo = yes -visualizer_spectrum_hz_min = 28 -visualizer_spectrum_hz_max = 18000 +#visualizer_spectrum_hz_min = 28 +#visualizer_spectrum_hz_max = 18000 visualizer_spectrum_smooth_look = yes visualizer_spectrum_gain = 1.5 @@ -16,6 +85,14 @@ display_bitrate = yes display_remaining_time = yes use_console_editor = yes +ask_for_locked_screen_width_part = no +locked_screen_width_part = 60 +startup_screen = media_library +startup_slave_screen = playlist +startup_slave_screen_focus = no + execute_on_song_change = $HOME/.local/bin/songinfo +enable_window_title = yes +song_window_title_format = NCMPCPP: ♪ {%a - }{%t}{ (%b)}|{%f} media_library_primary_tag = album_artist -- 2.51.2