Code

release v0.29
[ncmpc.git] / doc / config.sample
1 ##
2 ## Configuration file for ncmpc (~/.ncmpc/config)
3 ##
5 ############## Connection ###################
6 ## Connect to mpd running on a specified host
7 #host = "localhost"
9 ## Connect to mpd on the specified port.
10 #port = 6600
12 ## Connect to mpd using the specified password.
13 #password = "secret"
15 ## Reconnect after NUM seconds of MPD not responding.
16 #timeout = 5
18 ############## Interface ####################
19 ## Enable mouse support (if enabled at compile time).
20 #enable-mouse = no
22 ## A list of screens to cycle through when using
23 ## the previous/next screen commands (tab and shift+tab).
24 ## names: playlist browse help artist search song keydef lyrics outputs chat
25 #screen-list = playlist browse
27 ## Default search mode for the search screen. The mode is an
28 ## integer index, with  0  for title, 1 for artist, 2 for album,
29 ## 3 for filename, and 4 for artist+title.
30 #search-mode = 0
32 ## Auto center (center the playing track in the playlist)
33 #auto-center = no
35 ## Show the most recent query when using find.
36 #find-show-last = no
38 ## Wrapped find mode.
39 #find-wrap = yes
41 ## Wrapped cursor movement.
42 #wrap-around = no
44 ## Ring bell when find wraps around.
45 #bell-on-wrap = yes
47 ## Sound audible bell on alerts.
48 #audible-bell = yes
50 ## Enable visible bell on alerts.
51 #visible-bell = no
53 ## Default crossfade time in seconds.
54 #crossfade-time = 10
56 ## Seek forward/backward by NUM seconds.
57 #seek-time = 1
59 ############## Display ######################
60 ## Show a list of the screens in the top line on startup.
61 #welcome-screen-list = yes
63 ## Make the cursor as wide as the screen.
64 #wide-cursor = yes
66 ## Use the terminal's hardware cursor instead of inverse colors
67 #hardware-cursor = yes
69 ## Hide playlist cursor after x seconds (0 disables this feature).
70 #hide-cursor = 5
72 ## Scroll the title if it is too long for the screen.
73 #scroll = yes
75 ## The separator to show at the end of the scrolling title.
76 #scroll-sep = " *** "
78 ## list-format
79 ## The format used to display songs in the main window.
80 #list-format = "%name%|[%artist% - ]%title%|%file%"
82 ## The format used to display songs in the search window.
83 #search-format = "%name%|[%artist% - ]%title%|%file%"
85 ## The format used to display songs on the status line.
86 #status-format = "[%artist% - ]%title%|%shortfile%"
88 ## The time, in seconds, for which status messages will be displayed.
89 #status-message-time = 3
91 ## Sets whether to display remaining or elapsed time in
92 ## the status window. Default is elapsed.
93 #timedisplay-type = elapsed
95 ## Show the bitrate in the status bar when playing a stream.
96 #visible-bitrate = no
98 ## Change the XTerm title (ncmpc will not restore the title).
99 #set-xterm-title = no
101 ## The format used to for the xterm title when ncmpc is playing.
102 #xterm-title-format = "ncmpc: [ %name%|[%artist% - ]%title%|%file%]"
104 ## Automatically save the lyrics after receiving them.
105 #lyrics-autosave = no
107 ## The text editor used for editing lyrics.
108 #text-editor = emacs
110 ## Ask before starting an editor.
111 #text-editor-ask = yes
113 ## The prefix of chat messages
114 #chat-prefix = "<user> "
116 ## Display song length in second column
117 #second-column = yes
119 ############## Colors #######################
120 ## colors: none, black, red, green, yellow, blue, magenta, cyan, white
121 ## attributes: standout, underline, reverse, blink, dim, bold
122 ##
123 ## Colors can also be given as an integer representing a terminal specific
124 ## color code. The special color, none, represents the terminals default color.
126 ## Enable/disable colors.
127 #enable-colors = no
129 ## Set the background color.
130 #color background = black
132 ## Set the text color for the title row.
133 #color title = yellow
135 ## Set the text color for the title row (the bold part).
136 #color title-bold = yellow,bold
138 ## Set the color of the line on the second row.
139 #color line = white
141 ## Set the text color used to indicate mpd flags on the second row.
142 #color line-flags = white,bold
144 ## Set the text color in the main area of ncmpc.
145 #color list = green
147 ## Set the bold text color in the main area of ncmpc.
148 #color list-bold = green,bold
150 ## Sets the text color of directories in the browser
151 #color browser-directory = yellow
153 ## Sets the text color of playlists in the browser
154 #color browser-playlist = red
156 ## Set the color of the progress indicator.
157 #color progressbar = white
159 ## Set the text color used to display mpd status in the status window.
160 #color status-state = yellow,bold
162 ## Set the text color used to display song names in the status window.
163 #color status-song  = yellow
165 ## Set the text color used to display time the status window.
166 #color status-time  = red
168 ## Text color used to display alerts in the status window.
169 #color alert = red,bold
171 ## Redefine any of the base colors.
172 ## The RGB values must be an integer value between 0 and 1000.
173 ## Note: Only some terminals allow redefinitions of colors!
174 #colordef yellow = 255, 140, 0