mpd - improve ncmpcpp config in general and show pauze always
This commit is contained in:
parent
fbe9883fe6
commit
37a8b840ac
@ -222,7 +222,7 @@ mpd_music_dir = /mnt/lexicon/Music
|
|||||||
#playlist_separate_albums = no
|
#playlist_separate_albums = no
|
||||||
## Note: Possible display modes: classic, columns.
|
## Note: Possible display modes: classic, columns.
|
||||||
#playlist_display_mode = columns
|
#playlist_display_mode = columns
|
||||||
#browser_display_mode = classic
|
browser_display_mode = columns
|
||||||
#search_engine_display_mode = classic
|
#search_engine_display_mode = classic
|
||||||
#playlist_editor_display_mode = classic
|
#playlist_editor_display_mode = classic
|
||||||
#discard_colors_if_item_is_selected = yes
|
#discard_colors_if_item_is_selected = yes
|
||||||
@ -233,19 +233,19 @@ mpd_music_dir = /mnt/lexicon/Music
|
|||||||
#centered_cursor = no
|
#centered_cursor = no
|
||||||
## Note: You can specify third character which will
|
## Note: You can specify third character which will
|
||||||
## be used to build 'empty' part of progressbar.
|
## be used to build 'empty' part of progressbar.
|
||||||
#progressbar_look = =>
|
progressbar_look = =-
|
||||||
#progressbar_boldness = yes
|
progressbar_boldness = no
|
||||||
## Available values: database, playlist.
|
## Available values: database, playlist.
|
||||||
#default_place_to_search_in = database
|
#default_place_to_search_in = database
|
||||||
## Available values: classic, alternative.
|
## Available values: classic, alternative.
|
||||||
#user_interface = classic
|
user_interface = alternative
|
||||||
#data_fetching_delay = yes
|
#data_fetching_delay = yes
|
||||||
## Available values: artist, album_artist, date, genre, composer, performer.
|
## Available values: artist, album_artist, date, genre, composer, performer.
|
||||||
media_library_primary_tag = genre
|
media_library_primary_tag = genre
|
||||||
## Available values: wrapped, normal.
|
## Available values: wrapped, normal.
|
||||||
#default_find_mode = wrapped
|
#default_find_mode = wrapped
|
||||||
## Available values: add, select.
|
## Available values: add, select.
|
||||||
#default_space_mode = add
|
default_space_mode = select
|
||||||
#default_tag_editor_pattern = %n - %t
|
#default_tag_editor_pattern = %n - %t
|
||||||
#header_visibility = yes
|
#header_visibility = yes
|
||||||
#statusbar_visibility = yes
|
#statusbar_visibility = yes
|
||||||
@ -274,7 +274,7 @@ media_library_primary_tag = genre
|
|||||||
##
|
##
|
||||||
## Screens available for use: help, playlist, browser, search_engine,
|
## Screens available for use: help, playlist, browser, search_engine,
|
||||||
## media_library, playlist_editor, tag_editor, outputs, visualizer, clock.
|
## media_library, playlist_editor, tag_editor, outputs, visualizer, clock.
|
||||||
#screen_switcher_mode = playlist, browser
|
screen_switcher_mode = playlist, media_library
|
||||||
## Note: You can define startup screen for ncmpcpp
|
## Note: You can define startup screen for ncmpcpp
|
||||||
## by choosing screen from the list above.
|
## by choosing screen from the list above.
|
||||||
#startup_screen = playlist
|
#startup_screen = playlist
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
if mpc -q; then
|
if mpc -q; then
|
||||||
case "$(mpc status | sed -n '2s/\[\(\w*\)\].*/\1/p')" in
|
case "$(mpc status | sed -n '2s/\[\(\w*\)\].*/\1/p')" in
|
||||||
"playing") icon="<icon=music/play.xpm/>" ;;
|
"playing") icon="<icon=music/play.xpm/>" ;;
|
||||||
"paused") icon="<icon=music/pause.xpm/>" ;;
|
*) icon="<icon=music/pause.xpm/>" ;;
|
||||||
esac
|
esac
|
||||||
echo '<action=`urxvtc -e "ncmpcpp"`>'"$icon"'</action>'
|
echo '<action=`urxvtc -e "ncmpcpp" "-c" "~/.config/ncmpcpp/config"`>'"$icon"'</action>'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user