Prefer $XDG_CONFIG_HOME/ncmpcpp as a folder with configuration
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
##############################################################
|
||||
## This is the example bindings file. Copy it to ##
|
||||
## ~/.ncmpcpp/bindings or $XDG_CONFIG_HOME/ncmpcpp/bindings ##
|
||||
## and set up your preferences ##
|
||||
## $XDG_CONFIG_HOME/ncmpcpp/bindings or ~/.ncmpcpp/bindings ##
|
||||
## and set up your preferences. ##
|
||||
##############################################################
|
||||
##
|
||||
##### General rules #####
|
||||
|
||||
11
doc/config
11
doc/config
@@ -1,7 +1,8 @@
|
||||
##############################################################################
|
||||
## This is the example configuration file. Copy it to $HOME/.ncmpcpp/config ##
|
||||
## or $XDG_CONFIG_HOME/ncmpcpp/config and set up your preferences. ##
|
||||
##############################################################################
|
||||
##############################################################
|
||||
## This is an example configuration file. Copy it to ##
|
||||
## $XDG_CONFIG_HOME/ncmpcpp/config or $HOME/.ncmpcpp/config ##
|
||||
## and set up your preferences. ##
|
||||
##############################################################
|
||||
#
|
||||
##### directories ######
|
||||
##
|
||||
@@ -11,7 +12,7 @@
|
||||
## ncmpcpp.
|
||||
##
|
||||
#
|
||||
#ncmpcpp_directory = ~/.ncmpcpp
|
||||
#ncmpcpp_directory = ~/.config/ncmpcpp
|
||||
#
|
||||
##
|
||||
## Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other
|
||||
|
||||
@@ -45,7 +45,12 @@ Display help.
|
||||
Display version information.
|
||||
|
||||
.SH "CONFIGURATION"
|
||||
When ncmpcpp starts, it tries to read user's settings from $HOME/.ncmpcpp/config and $XDG_CONFIG_HOME/ncmpcpp/config files. If no configuration is found, ncmpcpp uses its default configuration. An example configuration file containing all default values is provided with ncmpcpp and can be usually found in /usr/share/doc/ncmpcpp (exact location may depend on used distribution or configure prefix).
|
||||
When ncmpcpp starts, it tries to read settings from
|
||||
$XDG_CONFIG_HOME/ncmpcpp/config and $HOME/.ncmpcpp/config files. If no
|
||||
configuration is found, ncmpcpp uses its default configuration. An example
|
||||
configuration file containing all default values is provided with ncmpcpp and
|
||||
can be usually found in /usr/share/doc/ncmpcpp (the exact location may depend on
|
||||
your operating system or configure prefix).
|
||||
|
||||
Note: Configuration option values can either be enclosed in quotation marks or not.
|
||||
- If they are enclosed, the leftmost and the rightmost quotation marks are treated as delimiters, therefore it is not necessary to escape quotation marks you use within the value itself.
|
||||
@@ -442,7 +447,11 @@ Border color of pop-up windows. If set to 'none', no border will be shown.
|
||||
Color of active window's border.
|
||||
.TP
|
||||
.SH "BINDINGS"
|
||||
When ncmpcpp starts, it tries to read user's bindings from ~/.ncmpcpp/bindings and $XDG_CONFIG_HOME/ncmpcpp/bindings files. If no bindings file is found, ncmpcpp uses the defaults. An example bindings file with the default values can be found usually in /usr/share/doc/ncmpcpp (exact location may depend on used distribution or configure prefix).
|
||||
When ncmpcpp starts, it tries to read bindings from
|
||||
$XDG_CONFIG_HOME/ncmpcpp/bindings and ~/.ncmpcpp/bindings files. If no bindings
|
||||
file is found, ncmpcpp uses the defaults. An example bindings file with default
|
||||
values can be found usually in /usr/share/doc/ncmpcpp (the exact location may
|
||||
depend on your operating system or configure prefix).
|
||||
|
||||
You can view current keybindings by pressing F1.
|
||||
.SH "SONG FORMAT"
|
||||
|
||||
Reference in New Issue
Block a user