about summary refs log tree commit diff
path: root/ncmpcpp
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /ncmpcpp
chore: init HEAD master
Diffstat (limited to 'ncmpcpp')
-rw-r--r--ncmpcpp/.local/etc/ncmpcpp/bindings393
-rw-r--r--ncmpcpp/.local/etc/ncmpcpp/config124
-rwxr-xr-xncmpcpp/@install14
3 files changed, 531 insertions, 0 deletions
diff --git a/ncmpcpp/.local/etc/ncmpcpp/bindings b/ncmpcpp/.local/etc/ncmpcpp/bindings
new file mode 100644
index 0000000..e7e3327
--- /dev/null
+++ b/ncmpcpp/.local/etc/ncmpcpp/bindings
@@ -0,0 +1,393 @@
+#
+#def_key "mouse"
+#  mouse_event
+#
+def_key "k"
+  scroll_up
+#
+def_key "K"
+  select_item
+  scroll_up
+#
+def_key "j"
+  scroll_down
+#
+def_key "J"
+  select_item
+  scroll_down
+#
+#def_key "["
+#  scroll_up_album
+#
+#def_key "]"
+#  scroll_down_album
+#
+#def_key "{"
+#  scroll_up_artist
+#
+#def_key "}"
+#  scroll_down_artist
+#
+#def_key "page_up"
+#  page_up
+#
+#def_key "page_down"
+#  page_down
+#
+def_key "g"
+  move_home
+#
+def_key "G"
+  move_end
+#
+#def_key "insert"
+#  select_item
+#
+#def_key "enter"
+#  enter_directory
+#
+#def_key "enter"
+#  toggle_output
+#
+#def_key "enter"
+#  run_action
+#
+#def_key "enter"
+#  play_item
+#
+#def_key "space"
+#  add_item_to_playlist
+#
+#def_key "space"
+#  toggle_lyrics_update_on_song_change
+#
+#def_key "space"
+#  toggle_visualization_type
+#
+def_key "d"
+  delete_playlist_items
+#
+def_key "d"
+  delete_browser_items
+#
+def_key "d"
+  delete_stored_playlist
+#
+def_key "l"
+  next_column
+#
+def_key "l"
+  slave_screen
+#
+def_key "l"
+  volume_up
+#
+#def_key "+"
+#  volume_up
+#
+def_key "h"
+  previous_column
+#
+def_key "h"
+  master_screen
+#
+def_key "h"
+  volume_down
+#
+#def_key "-"
+#  volume_down
+#
+#def_key ":"
+#  execute_command
+#
+#def_key "tab"
+#  next_screen
+#
+#def_key "shift-tab"
+#  previous_screen
+#
+#def_key "f1"
+#  show_help
+#
+#def_key "1"
+#  show_playlist
+#
+#def_key "2"
+#  show_browser
+#
+#def_key "2"
+#  change_browse_mode
+#
+#def_key "3"
+#  show_search_engine
+#
+#def_key "3"
+#  reset_search_engine
+#
+#def_key "4"
+#  show_media_library
+#
+#def_key "4"
+#  toggle_media_library_columns_mode
+#
+#def_key "5"
+#  show_playlist_editor
+#
+#def_key "6"
+#  show_tag_editor
+#
+#def_key "7"
+#  show_outputs
+#
+#def_key "8"
+#  show_visualizer
+#
+#def_key "="
+#  show_clock
+#
+#def_key "@"
+#  show_server_info
+#
+#def_key "s"
+#  stop
+#
+#def_key "p"
+#  pause
+#
+#def_key ">"
+#  next
+#
+#def_key "<"
+#  previous
+#
+#def_key "ctrl-h"
+#  jump_to_parent_directory
+#
+#def_key "ctrl-h"
+#  replay_song
+#
+#def_key "backspace"
+#  jump_to_parent_directory
+#
+#def_key "backspace"
+#  replay_song
+#
+#def_key "f"
+#  seek_forward
+#
+#def_key "b"
+#  seek_backward
+#
+#def_key "r"
+#  toggle_repeat
+#
+#def_key "z"
+#  toggle_random
+#
+#def_key "y"
+#  save_tag_changes
+#
+#def_key "y"
+#  start_searching
+#
+#def_key "y"
+#  toggle_single
+#
+#def_key "R"
+#  toggle_consume
+#
+#def_key "Y"
+#  toggle_replay_gain_mode
+#
+#def_key "T"
+#  toggle_add_mode
+#
+#def_key "|"
+#  toggle_mouse
+#
+#def_key "#"
+#  toggle_bitrate_visibility
+#
+#def_key "Z"
+#  shuffle
+#
+#def_key "x"
+#  toggle_crossfade
+#
+#def_key "X"
+#  set_crossfade
+#
+#def_key "u"
+#  update_database
+#
+#def_key "ctrl-s"
+#  sort_playlist
+#
+#def_key "ctrl-s"
+#  toggle_browser_sort_mode
+#
+#def_key "ctrl-s"
+#  toggle_media_library_sort_mode
+#
+#def_key "ctrl-r"
+#  reverse_playlist
+#
+#def_key "ctrl-f"
+#  apply_filter
+#
+#def_key "ctrl-_"
+#  select_found_items
+#
+#def_key "/"
+#  find
+#
+#def_key "/"
+#  find_item_forward
+#
+#def_key "?"
+#  find
+#
+#def_key "?"
+#  find_item_backward
+#
+#def_key "."
+#  next_found_item
+#
+#def_key ","
+#  previous_found_item
+#
+#def_key "w"
+#  toggle_find_mode
+#
+#def_key "e"
+#  edit_song
+#
+#def_key "e"
+#  edit_library_tag
+#
+#def_key "e"
+#  edit_library_album
+#
+#def_key "e"
+#  edit_directory_name
+#
+#def_key "e"
+#  edit_playlist_name
+#
+#def_key "e"
+#  edit_lyrics
+#
+#def_key "i"
+#  show_song_info
+#
+#def_key "I"
+#  show_artist_info
+#
+#def_key "g"
+#  jump_to_position_in_song
+#
+def_key "L"
+  show_lyrics
+#
+#def_key "ctrl-v"
+#  select_range
+#
+#def_key "v"
+#  reverse_selection
+#
+#def_key "V"
+#  remove_selection
+#
+#def_key "B"
+#  select_album
+#
+#def_key "a"
+#  add_selected_items
+#
+#def_key "c"
+#  clear_playlist
+#
+#def_key "c"
+#  clear_main_playlist
+#
+#def_key "C"
+#  crop_playlist
+#
+#def_key "C"
+#  crop_main_playlist
+#
+#def_key "m"
+#  move_sort_order_up
+#
+#def_key "m"
+#  move_selected_items_up
+#
+#def_key "n"
+#  move_sort_order_down
+#
+#def_key "n"
+#  move_selected_items_down
+#
+#def_key "M"
+#  move_selected_items_to
+#
+#def_key "A"
+#  add
+#
+#def_key "S"
+#  save_playlist
+#
+#def_key "o"
+#  jump_to_playing_song
+#
+#def_key "G"
+#  jump_to_browser
+#
+#def_key "G"
+#  jump_to_playlist_editor
+#
+#def_key "~"
+#  jump_to_media_library
+#
+#def_key "E"
+#  jump_to_tag_editor
+#
+#def_key "U"
+#  toggle_playing_song_centering
+#
+#def_key "P"
+#  toggle_display_mode
+#
+#def_key "\\"
+#  toggle_interface
+#
+#def_key "!"
+#  toggle_separators_between_albums
+#
+def_key "H"
+  toggle_lyrics_fetcher
+#
+#def_key "F"
+#  fetch_lyrics_in_background
+#
+#def_key "alt-l"
+#  toggle_fetching_lyrics_in_background
+#
+#def_key "ctrl-l"
+#  toggle_screen_lock
+#
+#def_key "`"
+#  toggle_library_tag_type
+#
+#def_key "`"
+#  refetch_lyrics
+#
+#def_key "`"
+#  add_random_items
+#
+#def_key "ctrl-p"
+#  set_selected_items_priority
+#
+#def_key "q"
+#  quit
+#
diff --git a/ncmpcpp/.local/etc/ncmpcpp/config b/ncmpcpp/.local/etc/ncmpcpp/config
new file mode 100644
index 0000000..3197663
--- /dev/null
+++ b/ncmpcpp/.local/etc/ncmpcpp/config
@@ -0,0 +1,124 @@
+ncmpcpp_directory   = "~/.local/var/lib/ncmpcpp"
+lyrics_directory    = "~/.local/var/lib/ncmpcpp/lyrics"
+
+mpd_host                = "/var/lib/mpd/mpd.socket"
+#mpd_host                = "localhost"
+#mpd_port                = "6600"
+mpd_connection_timeout  = "10"
+mpd_music_dir           = "/media/marisa/music"
+mpd_crossfade_time      = "0"
+
+system_encoding = "UTF-8"
+
+playlist_disable_highlight_delay    = "1"
+message_delay_time                  = "1"
+
+song_window_title_format    = "{%a - }{%t}|{%f}"
+song_list_format            = "{$6%t}|{$2%f}$1 $R{$8%b}$1 {$5%a}"
+song_columns_list_format    = "(20)[red]{a} (30)[cyan]{b} (50)[blue]{t|f}"
+song_status_format          = "{{$8%a$9{ $b-$/b $6%b$9 {(%y)}} - } '{%t}}|{%f}'"
+song_library_format         = "{%n - }{%t}|{%f}"
+
+now_playing_prefix  = "$b$1$8>>>$1 "
+now_playing_suffix  = "$1 $8<<<$1$/b"
+
+selected_item_prefix    = "$0"
+selected_item_suffix    = "$9"
+modified_item_prefix    = "$3> $9"
+
+browser_playlist_prefix = "$2playlist$9 "
+browser_sort_format     = "{%a - }{%t}|{%f} {(%l)}"
+
+playlist_show_mpd_host          = "no"
+playlist_show_remaining_time    = "no"
+playlist_shorten_total_times    = "no"
+playlist_separate_albums        = "no"
+
+playlist_display_mode           = "classic"
+browser_display_mode            = "classic"
+search_engine_display_mode      = "classic"
+playlist_editor_display_mode    = "classic"
+
+incremental_seeking = "yes"
+seek_time           = "1"
+
+volume_change_step  = "5"
+
+autocenter_mode = "yes"
+centered_cursor = "yes"
+
+progressbar_look = "->-"
+
+default_place_to_search_in                      = "database"
+search_engine_default_search_mode               = "1"
+data_fetching_delay                             = "no"
+media_library_primary_tag                       = "album_artist"
+browser_sort_mode                               = "name"
+default_find_mode                               = "wrapped"
+default_tag_editor_pattern                      = "%n - %t"
+empty_tag_marker                                = "<blank>"
+tags_separator                                  = " | "
+tag_editor_extended_numeration                  = "yes"
+media_library_sort_by_mtime                     = "no"
+regular_expressions                             = "none"
+block_search_constraints_change_if_items_found  = "yes"
+
+ignore_leading_the      = "yes"
+
+enable_window_title     = "no"
+
+header_visibility       = "no"
+statusbar_visibility    = "no"
+titles_visibility       = "no"
+
+display_volume_level    = "no"
+display_bitrate         = "no"
+display_remaining_time  = "no"
+
+cyclic_scrolling    = "yes"
+lines_scrolled      = "1"
+
+follow_now_playing_lyrics                   = "no"
+fetch_lyrics_for_current_song_in_background = "no"
+store_lyrics_in_song_dir                    = "no"
+
+generate_win32_compatible_filenames = "yes"
+allow_for_physical_item_deletion    = "no"
+show_hidden_files_in_local_browser  = "no"
+
+screen_switcher_mode                = "playlist, browser"
+startup_screen                      = "playlist"
+startup_slave_screen                = ""
+startup_slave_screen_focus          = "no"
+locked_screen_width_part            = "50"
+ask_for_locked_screen_width_part    = "yes"
+
+jump_to_now_playing_song_at_start   = "no"
+
+ask_before_clearing_playlists   = "no"
+
+clock_display_seconds   = "no"
+
+mouse_support   = "no"
+
+external_editor     = "vim"
+use_console_editor  = "yes"
+
+colors_enabled                      = "yes"
+discard_colors_if_item_is_selected  = "yes"
+
+empty_tag_color                 = "cyan"
+header_window_color             = "cyan"
+volume_color                    = "cyan"
+state_line_color                = "cyan"
+state_flags_color               = "green"
+main_window_color               = "blue"
+color1                          = "cyan"
+color2                          = "red"
+progressbar_color               = "cyan"
+progressbar_elapsed_color       = "white"
+statusbar_color                 = "yellow"
+window_border_color             = "green"
+active_window_border            = "red"
+
+# vim: filetype=config
diff --git a/ncmpcpp/@install b/ncmpcpp/@install
new file mode 100755
index 0000000..e82601b
--- /dev/null
+++ b/ncmpcpp/@install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}/ncmpcpp" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}/ncmpcpp"
+[ ! -d "${XDG_DATA_HOME}/ncmpcpp" ] && \
+    mkdir -p "${XDG_DATA_HOME}/ncmpcpp"
+[ ! -d "${XDG_DATA_HOME}/ncmpcpp/lyrics" ] && \
+    mkdir -p "${XDG_DATA_HOME}/ncmpcpp/lyrics"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    ncmpcpp

Consider giving Nix/NixOS a try! <3