diff options
author | Loek Le Blansch <l.leblansch@gmail.com> | 2020-08-14 11:38:50 +0200 |
---|---|---|
committer | Loek Le Blansch <l.leblansch@gmail.com> | 2020-08-14 11:38:50 +0200 |
commit | 2a2f894cfda57dc6e6a4b6f6824b60dd809b4db8 (patch) | |
tree | 1043ec1a4e97451113b41d5caa2e8d287b788382 | |
parent | 80fdaf237284de72287a5e93d57da19e31f80b14 (diff) |
added ncmpcpp / mpd
-rw-r--r-- | .config/mpd/mpd.conf | 21 | ||||
-rw-r--r-- | .config/ncmpcpp/bindings | 41 | ||||
-rw-r--r-- | .config/ncmpcpp/config | 29 |
3 files changed, 91 insertions, 0 deletions
diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf new file mode 100644 index 0000000..28a8e81 --- /dev/null +++ b/.config/mpd/mpd.conf @@ -0,0 +1,21 @@ +music_directory "~/music" +playlist_directory "~/music/playlists" +log_file "~/.local/mpd/log" + +auto_update "yes" +bind_to_address "127.0.0.1" +restore_paused "yes" + +user "loek" +group "users" + +default_permissions "read,add,control,admin" + +input { + plugin "curl" +} + +audio_output { + type "pulse" + name "pulse audio" +} diff --git a/.config/ncmpcpp/bindings b/.config/ncmpcpp/bindings new file mode 100644 index 0000000..ccbe8b3 --- /dev/null +++ b/.config/ncmpcpp/bindings @@ -0,0 +1,41 @@ +# the t key isn't used and it's easier to press than /, so lets use it +def_key "/" + find +def_key "t" + find_item_forward + +def_key "+" + show_clock +def_key "=" + volume_up + +def_key "j" + scroll_down +def_key "k" + scroll_up + +def_key "ctrl-u" + page_up +#push_characters "kkkkkkkkkkkkkkk" +def_key "ctrl-d" + page_down +#push_characters "jjjjjjjjjjjjjjj" + +def_key "h" + previous_column +def_key "l" + next_column + +def_key "." + show_lyrics + +def_key "n" + next_found_item +def_key "N" + previous_found_item + +# not used but bound +def_key "J" + move_sort_order_down +def_key "K" + move_sort_order_up diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config new file mode 100644 index 0000000..e68c10f --- /dev/null +++ b/.config/ncmpcpp/config @@ -0,0 +1,29 @@ +mpd_host = "127.0.0.1" +mpd_port = "6600" +mpd_music_dir = "/home/loek/music" +mpd_connection_timeout = "5" +mpd_crossfade_time = "1" +ncmpcpp_directory="/home/loek/.config/ncmpcpp" + +progressbar_look = "-> " +progressbar_elapsed_color = "cyan" +progressbar_color = "black" +playlist_display_mode = "classic" +autocenter_mode = "yes" +centered_cursor = "yes" +user_interface = "classic" + +header_visibility = "no" +statusbar_visibility = "no" +titles_visibility = "no" + +state_flags_color = blue +main_window_color = white +current_item_prefix = $(magenta)$r +song_columns_list_format = (20)[]{a} (6f)[blue]{NE} (50)[white]{t|f:Title} (20)[blue]{} (7f)[magenta]{l} +song_list_format = "{{%a - %t}|{%f}}{$R%l}" +window_border_color = blue + +now_playing_prefix = "$b$6" +now_playing_suffix = "$/b$9" + |