Merge branch 'master' of gitea.suda.codes:sudacode/mpv
This commit is contained in:
commit
fc734fcffe
18
mpv-fonts.conf
Normal file
18
mpv-fonts.conf
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<dir>/home/sudacode/.config/mpv/fonts</dir>
|
||||
<include ignore_missing="yes">/etc/fonts/fonts.conf</include>
|
||||
<include ignore_missing="yes">/etc/fonts/conf.d</include>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>JetBrainsMono Nerd Font</family>
|
||||
<family>Fluent System Icons</family>
|
||||
<family>Noto Sans CJK JP</family>
|
||||
<family>Noto Sans</family>
|
||||
<family>Open Sans</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
8
mpv.conf
8
mpv.conf
@ -144,9 +144,9 @@ cache-pause=no
|
||||
#[eye-cancer]
|
||||
#sharpen=5
|
||||
|
||||
sub-font=JetBrainsMono Nerd Font
|
||||
sub-font-size=50
|
||||
osd-font=JetBrainsMono Nerd Font
|
||||
sub-font="JetBrainsMono Nerd Font"
|
||||
sub-font-size=45
|
||||
# osd-font="Fluent System Icons"
|
||||
border=no
|
||||
|
||||
geometry=50%
|
||||
@ -202,6 +202,8 @@ interpolation=yes
|
||||
interpolation-preserve=no
|
||||
|
||||
input-ipc-server=/tmp/mpvsocket
|
||||
# ao=pule,pipewire
|
||||
ao=pipewire,pulse
|
||||
|
||||
[hdr]
|
||||
target-colorspace-hint=yes
|
||||
|
@ -4,9 +4,10 @@
|
||||
# example dictionary config for JMdict
|
||||
|
||||
[JMdict]
|
||||
location=/home/sudacode/Documents/jmdict
|
||||
location=/home/sudacode/Documents/jmdict/
|
||||
type=yomichan
|
||||
|
||||
|
||||
# Only the two entries above are strictly required for each dictionary.
|
||||
# optional entries:
|
||||
|
||||
@ -16,15 +17,15 @@ type=yomichan
|
||||
# cf. doc/dictionaries.md for details
|
||||
#preload=<...>
|
||||
#insert_cjk_breaks=no
|
||||
#exporter=default
|
||||
#quick_def_template={{readings:::・}}{{variants:【:】:・}}: {{definitions:::; }}
|
||||
exporter=default
|
||||
quick_def_template={{readings:::・}}{{variants:【:】:・}}: {{definitions:::; }}
|
||||
|
||||
#export:digits=<...>
|
||||
#export:reading_template={{reading}}{{variants:【:】:・}}
|
||||
#export:definition_template={{tags:<span style="font-size\: 0.8em">:</span><br>:, }}{{num}}. {{keywords:::; }}
|
||||
#export:template={{readings[1]}}:{{readings[2:] (:): }}<br>{{definitions:::<br>}}
|
||||
#export:use_single_template=yes
|
||||
#export:single_template={{readings[1]}}:{{readings[2:] (:): }} {{keywords:::; }}
|
||||
export:digits=0123456789
|
||||
export:reading_template={{reading}}{{variants:【:】:・}}
|
||||
export:definition_template={{tags:<span style="font-size\: 0.8em">:</span><br>:, }}{{num}}. {{keywords:::; }}
|
||||
export:template={{readings[1]}}:{{readings[2:] (:): }}<br>{{definitions:::<br>}}
|
||||
export:use_single_template=false
|
||||
export:single_template={{readings[1]}}:{{readings[2:] (:): }}<br>{{definitions:::<br>}}
|
||||
|
||||
# --------------------
|
||||
|
||||
|
@ -49,8 +49,8 @@ forvo_codec=libmp3lame
|
||||
forvo_bitrate=128ki
|
||||
|
||||
# AnkiConnect host and port
|
||||
#ankiconnect_host=localhost
|
||||
#ankiconnect_port=8765
|
||||
ankiconnect_host=localhost
|
||||
ankiconnect_port=8765
|
||||
|
||||
# Windows clipboard copy mode
|
||||
# "exact" takes longer (200ms-1s), but preserves the text exactly,
|
||||
|
@ -102,9 +102,9 @@ raise_subtitle_amount=125
|
||||
# show the jump backward and forward buttons
|
||||
jump_buttons=yes
|
||||
# change the jump amount in seconds
|
||||
jump_amount=10
|
||||
jump_amount=1
|
||||
# change the jump amount in seconds when right-clicking jump buttons and shift-clicking chapter skip buttons
|
||||
jump_more_amount=60
|
||||
jump_more_amount=5
|
||||
# show different icon when jump_amount is set to 5, 10, or 30
|
||||
jump_icon_number=yes
|
||||
# seek mode for jump buttons
|
||||
|
@ -30,6 +30,6 @@ menu_timeout=5
|
||||
show_errors=yes
|
||||
ytdlp_file_format=mp4
|
||||
ytdlp_output_template=%(uploader)s/%(title)s.%(ext)s
|
||||
use_history_db=yes
|
||||
use_history_db=no
|
||||
backend_host=http://localhost
|
||||
backend_port=42069
|
||||
|
Loading…
x
Reference in New Issue
Block a user