blob: 839ce3433fc6f50f368700a52937cca38b187ec2 (
plain)
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
150
151
152
153
154
|
{ pkgs, ... }:
{
programs.ncmpcpp = {
enable = true;
package = pkgs.unstable.ncmpcpp.override { visualizerSupport = true; };
mpdMusicDir = "~/Media/Music";
settings = {
ncmpcpp_directory = "~/.config/ncmpcpp";
lyrics_directory = "~/.local/share/lyrics";
song_list_format = "{%a - }{%t}|{$8%f$9}$R{$3%l$9}";
song_status_format = "{{%a{ \"%b\"{ (%y)}} - }{%t}}|{%f}";
song_library_format = "{%n - }{%t}|{%f}";
alternative_header_first_line_format = "$b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b";
alternative_header_second_line_format = "{{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}";
current_item_prefix = "$(yellow)$r";
current_item_suffix = "$/r$(end)";
current_item_inactive_column_prefix = "$(white)$r";
current_item_inactive_column_suffix = "$/r$(end)";
now_playing_prefix = "$b";
now_playing_suffix = "$/b";
browser_playlist_prefix = "$2playlist$9 ";
selected_item_prefix = "$6";
selected_item_suffix = "$9";
modified_item_prefix = "$3> $9";
song_window_title_format = "{%a - }{%t}|{%f}";
browser_sort_mode = "type";
browser_sort_format = "{%a - }{%t}|{%f} {%l}";
visualizer_data_source = "/tmp/mpd.fifo";
visualizer_output_name = "Visualizer feed";
visualizer_in_stereo = true;
visualizer_type = "spectrum";
visualizer_look = "●▮";
visualizer_color = "blue, cyan, green, yellow, magenta, red";
visualizer_spectrum_smooth_look = true;
};
bindings = [
{
key = "j";
command = "scroll_down";
}
{
key = "k";
command = "scroll_up";
}
{
key = "h";
command = [
"previous_column"
"jump_to_parent_directory"
];
}
{
key = "l";
command = [
"next_column"
"enter_directory"
"run_action"
"play_item"
];
}
{
key = "u";
command = "page_up";
}
{
key = "d";
command = "page_down";
}
{
key = "ctrl-u";
command = "page_up";
}
{
key = "ctrl-d";
command = "page_down";
}
{
key = "g";
command = "move_home";
}
{
key = "G";
command = "move_end";
}
{
key = "n";
command = "next_found_item";
}
{
key = "N";
command = "previous_found_item";
}
{
key = "J";
command = "move_sort_order_down";
}
{
key = "K";
command = "move_sort_order_up";
}
{
key = "f";
command = [
"show_browser"
"change_browse_mode"
];
}
{
key = "s";
command = [
"reset_search_engine"
"show_search_engine"
];
}
{
key = "m";
command = "toggle_media_library_columns_mode";
}
{
key = "x";
command = "delete_playlist_items";
}
{
key = "U";
command = "update_database";
}
{
key = "P";
command = "show_playlist";
}
{
key = "t";
command = "show_tag_editor";
}
{
key = "v";
command = "show_visualizer";
}
{
key = ".";
command = "show_lyrics";
}
{
key = "+";
command = "show_clock";
}
{
key = "=";
command = "volume_up";
}
];
};
}
|