-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnclyr_build.conf
153 lines (126 loc) · 4.62 KB
/
nclyr_build.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# Enables program-wide debuging support
DEBUG = y
DEBUG_FILE = "/tmp/nclyr_debug.log"
# Compiles in profiling support
PROF = n
# glyr is used to gather song information, such as lyrics and artist bio
# pulls libglyr
LIB_GLYR = y
# Default iface - You should choose an iface which you chose to compile in,
# though it's not required.
IFACE_DEFAULT = "console"
# Default config file to load. This can only be changed by supplying a new
# filename as an argument
CONFIG_DEFAULT = "~/.nclyrrc"
# console interface (Probably want this - Pulls no dependencies)
CONSOLE = y
CONSOLE {
SONG_DISPLAY_TRIPLE = "${color;f:cyan}${title}${color;f:default}"
" | ${color;f:red}${artist}${color;f:default}"
" | ${color;f:green}${album}${color;f:default}"
SONG_DISPLAY_FILENAME = "${color;f:green}${filename}${color;f:default}"
STATUSLINE_DEFAULT =
" ${color;f:cyan}${title}${color;f:default}"
" | ${color;f:red}${artist}${color;f:default}"
" | ${color;f:green}${album}${color;f:default}"
"${right_align}"
"["
"${is_random;t:z;f:-}"
"${is_single;t:s;f:-}"
"${is_consume;t:c;f:-}"
"${is_crossfade;t:x;f:-}"
"${is_repeat;t:r;f:-}"
"${paused;t:p;f:-}"
"] "
"[${volume;w:2;z:true}%] "
"["
"${position;pad:true;seconds:true;minutes:true}"
"/"
"${duration;pad:true;seconds:true;minutes:true}"
"]"
}
# tui interface (Pulls ncurses)
TUI = y
TUI {
STATUSLINE {
SONG_TRIPLE_DEFAULT = "${color;f:cyan}${title}${color;f:default}"
" | ${color;f:red}${artist}${color;f:default}"
" | ${color;f:green}${album}${color;f:default}"
SONG_FILENAME_DEFAULT = "${color;f:green}${filename}${color;f:default}"
SONG_DEFAULT =
" ${song}"
"${right_align}"
"["
"${is_random;t:z;f:-}"
"${is_single;t:s;f:-}"
"${is_consume;t:c;f:-}"
"${is_crossfade;t:x;f:-}"
"${is_repeat;t:r;f:-}"
"${paused;t:p;f:-}"
"] "
"[${volume;w:2;z:true}%] "
"["
"${position;pad:true;seconds:true;minutes:true}"
"/"
"${duration;pad:true;seconds:true;minutes:true}"
"]"
}
PLAYLIST {
SONG_TRIPLE_DEFAULT = "${color;f:cyan} ${title} ${color;f:default}"
">>${color;f:red} ${artist} ${color;f:default}"
">>${color;f:green} ${album} "
SONG_FILENAME_DEFAULT = "${color;f:cyan} ${filename} ${color;f:default}"
PRINTLINE_DEFAULT =
"${if;playing:true}${bold}${endif}"
"${if;selected:true}${reverse}${endif}"
"${play-num;w:2}. "
"${song}"
"${right_align}"
"${color;f:white}[${duration;pad:true;seconds:true;minutes:true}]"
}
BROWSE {
SONG_TRIPLE_DEFAULT = "${color;f:cyan} ${title} ${color;f:default}"
">>${color;f:red} ${artist} ${color;f:default}"
">>${color;f:green} ${album} "
SONG_FILENAME_DEFAULT = "${color;f:cyan} ${filename} ${color;f:default}"
SONG_DEFAULT = "${if;selected:true}${reverse}${endif}"
"${song}"
"${right_align}${duration;pad:true;minutes:true;seconds:true}"
DIRECTORY_DEFAULT = "${if;selected:true}${reverse}${endif}"
"[${name}]"
"${right_align} "
}
MPD {
# Adds window for music visualizer.
# Pulls libfftw3
VISUALIZER = y
VISUALIZER {
FILENAME_DEFAULT = "/tmp/mpd.fifo"
COLOR_DEFAULT = (blue, default)
BKGDCOLOR_DEFAULT = (default, default)
TYPE_DEFAULT = wave
FPS_DEFAULT = 20
SHOWFPS_DEFAULT = y
# Either stereo or mono
SOUND_DEFAULT = stereo
}
}
}
# Player settings
PLAYER {
# Default player - You should choose a player which you chose to compile in,
# though it's not required.
DEFAULT = "mpd"
# mpd - music player daemon - Pulls libmpdclient
MPD = y
MPD {
SERVER_DEFAULT = "127.0.0.1"
PORT_DEFAULT = 6600
}
# Pianobar - Pandora comamnd-line client - Pulls no dependencies
PIANOBAR = y
PIANOBAR {
NOWPLAYING_DEFAULT = "~/.config/pianobar/nowplaying"
FIFO_DEFAULT = "~/.config/pianobar/ctl"
}
}