From f2d18875fc244df2ba6428c4c07d26831a6c5de0 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Mon, 4 Sep 2017 17:26:50 +0200 Subject: [PATCH] Name change beatmaker -> tinsmith, ncmpcpp bindings updated --- bash/bash.d/ps1 | 2 +- ncmpcpp/bindings | 90 +++++++++++++++++++++++------------------------- ncmpcpp/config | 18 +++++----- 3 files changed, 54 insertions(+), 56 deletions(-) diff --git a/bash/bash.d/ps1 b/bash/bash.d/ps1 index f2fb1ca..3465a30 100644 --- a/bash/bash.d/ps1 +++ b/bash/bash.d/ps1 @@ -75,7 +75,7 @@ function __prompt_command() { if color ; then case "$HOSTNAME" in 'maclean') PS1+="${IGre}\H${RCol}";; - 'beatmaker') PS1+="${Gre}\H${RCol}";; + 'tinsmith'|'beatmaker') PS1+="${Gre}\H${RCol}";; 'blacksmith'|'beatmachine') PS1+="${Blu}\H${RCol}";; 'locksmith'|'fatserf') PS1+="${Pur}\H${RCol}";; 'lilo'*) PS1+="${BWhi}\H${RCol}";; diff --git a/ncmpcpp/bindings b/ncmpcpp/bindings index 86d37a5..f6405e3 100644 --- a/ncmpcpp/bindings +++ b/ncmpcpp/bindings @@ -180,10 +180,9 @@ def_key "down" # #def_key "space" # press_space +#def_key "enter" +# press_enter # -def_key "enter" - press_enter - #def_key "delete" # delete_playlist_items # @@ -226,47 +225,47 @@ def_key "left" #def_key "shift_tab" # previous_screen # -#def_key "f1" -# show_help +def_key "`" + show_help # -#def_key "1" -# show_playlist +def_key "1" + show_playlist # -#def_key "2" -# show_browser +def_key "2" + show_browser # -#def_key "2" -# change_browse_mode +def_key "2" + change_browse_mode # -#def_key "3" -# show_search_engine +def_key "3" + show_search_engine # -#def_key "3" -# reset_search_engine +def_key "3" + reset_search_engine # -#def_key "4" -# show_media_library +def_key "4" + show_media_library # -#def_key "4" -# toggle_media_library_columns_mode +def_key "4" + toggle_media_library_columns_mode # -#def_key "5" -# show_playlist_editor +def_key "5" + show_playlist_editor # -#def_key "6" -# show_tag_editor +def_key "6" + show_tag_editor # -#def_key "7" -# show_outputs +def_key "7" + show_outputs # -#def_key "8" -# show_visualizer +def_key "8" + show_visualizer # def_key "+" show_clock -#def_key "@" -# show_server_info +def_key "@" + show_server_info # def_key "s" stop @@ -283,7 +282,7 @@ def_key "<" #def_key "ctrl_h" # jump_to_parent_directory # -def_key "ctrl_h" +def_key "ctrl-h" replay_song # #def_key "backspace" @@ -304,11 +303,11 @@ def_key "f" def_key "b" seek_backward # -#def_key "r" -# toggle_repeat +def_key "r" + toggle_repeat # -#def_key "z" -# toggle_random +def_key "z" + toggle_random # #def_key "y" # save_tag_changes @@ -316,11 +315,11 @@ def_key "b" #def_key "y" # start_searching # -#def_key "y" -# toggle_single +def_key "y" + toggle_single # -#def_key "R" -# toggle_consume +def_key "R" + toggle_consume # #def_key "Y" # toggle_replay_gain_mode @@ -337,8 +336,8 @@ def_key "b" #def_key "#" # toggle_bitrate_visibility # -#def_key "Z" -# shuffle +def_key "Z" + shuffle # #def_key "x" # toggle_crossfade @@ -346,10 +345,10 @@ def_key "b" #def_key "X" # set_crossfade # -#def_key "u" -# update_database +def_key "u" + update_database # -def_key "ctrl_v" +def_key "ctrl-v" sort_playlist # #def_key "ctrl_r" @@ -511,6 +510,5 @@ def_key "I" #def_key "ctrl_p" # set_selected_items_priority # -#def_key "q" -# quit -# +def_key "q" + quit diff --git a/ncmpcpp/config b/ncmpcpp/config index d44adbd..a8dec6c 100644 --- a/ncmpcpp/config +++ b/ncmpcpp/config @@ -24,7 +24,7 @@ lyrics_directory = ~/.lyrics # ##### connection settings ##### # -mpd_host = fatserf.thuis +mpd_host = locksmith.thuis # mpd_port = 6600 # @@ -401,7 +401,7 @@ media_library_primary_tag = album_artist ## Note: You can define startup screen for ncmpcpp ## by choosing screen from the list above. ## -#startup_screen = playlist +startup_screen = playlist # ## ## Default width of locked screen (in %). @@ -416,9 +416,9 @@ media_library_primary_tag = album_artist # #ask_before_clearing_playlists = yes # -#clock_display_seconds = no +clock_display_seconds = no # -#display_volume_level = yes +display_volume_level = yes # #display_bitrate = no # @@ -433,7 +433,7 @@ media_library_primary_tag = album_artist ## "The" word while sorting items in browser, tags in ## media library, etc. ## -#ignore_leading_the = no +ignore_leading_the = no # #block_search_constraints_change_if_items_found = yes # @@ -463,13 +463,13 @@ enable_window_title = yes ## in database and local one for searching in current playlist) ## # -#search_engine_default_search_mode = 1 +search_engine_default_search_mode = 1 # external_editor = vim # ## Note: set to yes if external editor is a console application. ## -#use_console_editor = yes +use_console_editor = yes # ##### colors definitions ##### # @@ -493,9 +493,9 @@ colors_enabled = yes # #main_window_highlight_color = yellow # -#progressbar_color = black +progressbar_color = black # -#progressbar_elapsed_color = green +progressbar_elapsed_color = green # #statusbar_color = default #