~metalune/Dotfiles

d83366414e82bd372feab3b0602ccb63b765475d — metalune 24 days ago 5bca8e5 master
Add ncmpcpp config
2 files changed, 144 insertions(+), 0 deletions(-)

A .config/ncmpcpp/bindings
A .config/ncmpcpp/config
A .config/ncmpcpp/bindings => .config/ncmpcpp/bindings +68 -0
@@ 0,0 1,68 @@
def_key "+"
    show_clock
def_key "="
    volume_up

def_key "h"
    scroll_down
def_key "t"
    scroll_up

def_key "ctrl-g"
    page_up
def_key "ctrl-e"
    page_down
def_key "g"
    page_up
def_key "e"
    page_down
def_key "d"
    previous_column
def_key "n"
    next_column

def_key "."
    show_lyrics

def_key "b"
    next_found_item
def_key "B"
    previous_found_item

# not used but bound
def_key "H"
    move_sort_order_down
def_key "T"
    move_sort_order_up
def_key "d"
    jump_to_parent_directory
def_key "n"
    enter_directory
def_key "n"
    run_action
def_key "n"
    play_item
def_key "m"
    show_media_library
def_key "y"
    show_tag_editor
def_key "k"
    show_visualizer
def_key "I"
    move_end
def_key "i"
    move_home
def_key "G"
    update_database
def_key "o"
    reset_search_engine
def_key "o"
    show_search_engine
def_key "u"
    show_browser
def_key "u"
    change_browse_mode
def_key "q"
    delete_playlist_items
def_key "L"
    show_playlist

A .config/ncmpcpp/config => .config/ncmpcpp/config +76 -0
@@ 0,0 1,76 @@
# vim: filetype=conf
# https://github.com/altrgeek/bspwm-polybar/blob/master/.ncmpcpp/config

[mpd]
ncmpcpp_directory = "~/.config/ncmpcpp"
lyrics_directory = "~/.local/share/lyrics"
mpd_music_dir = "~/music"
mpd_port = "6601"
message_delay_time = "1"
mpd_crossfade_time = 2

[header]
header_visibility = yes
header_window_color = default
playlist_shorten_total_times = yes
volume_color = default
state_line_color = black

[playlist]
playlist_display_mode = "classic"
song_list_format = "{{%a - %t}|{%f}}{$R%l}"
now_playing_prefix = "$b$6"
now_playing_suffix = "$/b$9"

[statusbar]
progressbar_look = "▒▓░"
progressbar_elapsed_color = magenta
progressbar_color = black
statusbar_visibility = no
statusbar_color = default
song_status_format = "{{%a{ - %t}}|{ - %f}{ - %b{ (%y)}}}"

[library]
song_library_format = "{{%a - %t}|{%f}}{$R%l}"
empty_tag_color = black

[global]
colors_enabled = yes
main_window_color = white
centered_cursor = yes
enable_window_title = yes
external_editor = nvim


[notification]
execute_on_song_change = notify-send "Now Playing ♫" "$(mpc current)"


# █▓▒░ cheat sheet
# %l - length
# %f - filename
# %D - directory
# %a - artist
# %t - title
# %b - album
# %y - year
# %n - track number (01/12 -> 01)
# %N - full track info (01/12 -> 01/12)
# %g - genre
# %c - composer
# %p - performer
# %d - disc
# %C - comment
# $R - begin right alignment

# █▓▒░ colors
# $0 - default window color
# $1 - black
# $2 - red
# $3 - green
# $4 - yellow
# $5 - blue
# $6 - magenta
# $7 - cyan
# $8 - white
# $9 - end of current color