forked from flaport/home
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcastero.conf
256 lines (196 loc) · 6.22 KB
/
castero.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# castero configuration file
# https://github.com/xgi/castero
[client]
# Whether to ask for confirmation before deleting a feed.
# default: False
delete_feed_confirmation = False
# The minimum number of feeds before the client asks you for confirmation
# after pressing the reload key.
# default: 10
reload_feeds_threshold = 10
# The maximum number of episodes to retain per feed. Set to -1 for no limit.
# default: -1
max_episodes = -1
# Whether to keep episodes in the client even if they are no longer present on
# the feed (i.e. the RSS feed only shows the x most recent episodes).
# default: False
retain_absent_episodes = False
# Hide vertical borders between menus.
# default: False
disable_vertical_borders = False
# Whether to remove HTML tags from feed/episode descriptions.
# default: True
clean_html_descriptions = True
# Whether to right-align the current episode time/duration.
# default: False
right_align_time = False
# The display refresh delay, in ms. Lower for better responsiveness but higher
# CPU usage.
# default: 70
refresh_delay = 70
# The external player to use for media playback.
# If the given player is not valid or a dependency is not met, the client will
# instead try to use the first valid interface.
# Available players (in order of precedence):
# mpv, vlc
# default: (blank)
player =
# The command to run when you press key_execute (default e). All instances of
# the following tokens are replaced with the corresponding episode attributes:
# {file} - the episode enclosure, usually a remote mp3 file
# {title} - the episode name
# {description} - the episode description
# {link} - the link to the episode, which is often a blog post
# {pubdate} - the publish date/time of the episode
# {copyright} - the copyright of the episode
# Most of these attributes have spaces, so you will probably want to enclose
# the token with quotations.
# For example, `firefox "{file}"` would open the file in Firefox.
# The client executes the text you enter as a shell command. Use with caution!
# default: (blank)
execute_command =
[feeds]
# Whether to reload/refresh your feeds when the client starts. Depending on how
# many feeds you have, this operation may take a long time.
# default: False
reload_on_start = False
[downloads]
# The (absolute) location to save episodes downloaded for offline playback. Set
# to blank or whitespaces to disable -- the client will default to either
# $XDG_DATA_DIR, if set, otherwise ~/.local/share/castero/downloaded
# default: (blank)
custom_download_dir =
# The timeout for network requests, in seconds. The same value is used for
# connection and read timeouts.
# default: 3
request_timeout = 3
[colors]
# Available colors for all fields are:
# black, blue, cyan, green, magenta, red, white, yellow, transparent (background),
# integer from -1 to 255 if terminal supports 256 colors
# NOTE: Background transparency only works on compatible terminals with compositing
# The foreground (text) color of the main interface.
# default: yellow
color_foreground = yellow
# The background color of the main interface.
# default: black
color_background = black
# The foreground (text) color of selected items.
# default: black
color_foreground_alt = white
# The background color of selected items.
# default: white
color_background_alt = black
# The foreground (text) color of marked items. Paired with color_background.
# default: green
color_foreground_dim = green
# The foreground (text) color of status lines. Paired with color_background.
# default: white
color_foreground_status = white
# The foreground (text) color of menu headings. Paired with color_background.
# default: yellow
color_foreground_heading = yellow
# The foreground (text) color of dividers. Paired with color_background.
# default: white
color_foreground_dividers = white
[playback]
# The distance to move forward when pressing seek keys, in seconds.
# default: 30
seek_distance_forward = 30
# The distance to move backward when pressing seek keys, in seconds.
# default: 10
seek_distance_backward = 10
# The default playback speed. See also the rate_increase/rate_decrease keys.
# default: 1.0
default_playback_speed = 1.0
[keys]
# Keybindings for controlling the client. Entries may not be blank, but may
# overlap -- however, only one operation will be performed for each key press.
# Please see this page for a list of available key names:
# https://docs.python.org/3/library/curses.html#constants
# Show the help menu.
# default: h
key_help = h
# Exit the client
# default: q
key_exit = q
# Add a feed.
# default: a
key_add_feed = a
# Delete the selected feed.
# default: d
key_delete = d
# Reload/refresh feeds.
# default: r
key_reload = r
# Save episode for offline playback.
# default: s
key_save = s
# Navigate up.
# default: UP
key_up = UP
# Navigate right.
# default: RIGHT
key_right = RIGHT
# Navigate down.
# default: DOWN
key_down = DOWN
# Navigate left.
# default: LEFT
key_left = LEFT
# Scroll menu up.
# default: PPAGE
key_scroll_up = PPAGE
# Scroll menu down.
# default: NPAGE
key_scroll_down = NPAGE
# Play selected feed/episode.
# default: ENTER
key_play_selected = ENTER
# Add selected feed/episode to queue.
# default: SPACE
key_add_selected = SPACE
# Clear the queue.
# default: c
key_clear = c
# Go to the next episode in the queue.
# default: n
key_next = n
# Execute a command on the selected episode. See also execute_command.
key_execute = e
# Invert the order of the menu.
# default: i
key_invert = i
# Filter the contents of the menu. Press again to clear the filter.
# default: /
key_filter = /
# Mark the episode as played/unplayed.
# default: i
key_mark_played = m
# Pause/play the current episode.
# default: p
key_pause_play = p
# Alternate binding for key_pause_play -- make identical to disable.
# default: k
key_pause_play_alt = k
# Seek forward.
# default: f
key_seek_forward = f
# Alternate binding for key_seek_forward -- make identical to disable.
# default: l
key_seek_forward_alt = l
# Seek backward.
# default: b
key_seek_backward = b
# Alternate binding for key_seek_backward -- make identical to disable.
# default: j
key_seek_backward_alt = j
# Increase playback speed.
# default: ]
key_rate_increase = ]
# Decrease playback speed.
# default: [
key_rate_decrease = [
# Show episode URL.
# default: u
key_show_url = u