diff --git a/mpv-fonts.conf b/mpv-fonts.conf new file mode 100644 index 0000000..16c4a20 --- /dev/null +++ b/mpv-fonts.conf @@ -0,0 +1,18 @@ + + + + /home/sudacode/.config/mpv/fonts + /etc/fonts/fonts.conf + /etc/fonts/conf.d + + sans-serif + + JetBrainsMono Nerd Font + Fluent System Icons + Noto Sans CJK JP + Noto Sans + Open Sans + + + + diff --git a/mpv.conf b/mpv.conf index d2896ea..ef4d4dc 100644 --- a/mpv.conf +++ b/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 diff --git a/script-opts/immersive-dictionaries.conf b/script-opts/immersive-dictionaries.conf index 3d4cd38..fe2b64c 100644 --- a/script-opts/immersive-dictionaries.conf +++ b/script-opts/immersive-dictionaries.conf @@ -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::
:, }}{{num}}. {{keywords:::; }} -#export:template={{readings[1]}}:{{readings[2:] (:): }}
{{definitions:::
}} -#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::
:, }}{{num}}. {{keywords:::; }} +export:template={{readings[1]}}:{{readings[2:] (:): }}
{{definitions:::
}} +export:use_single_template=false +export:single_template={{readings[1]}}:{{readings[2:] (:): }}
{{definitions:::
}} # -------------------- diff --git a/script-opts/immersive.conf b/script-opts/immersive.conf index 6336e8e..f33b99f 100644 --- a/script-opts/immersive.conf +++ b/script-opts/immersive.conf @@ -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, diff --git a/script-opts/modernz.conf b/script-opts/modernz.conf index 5557da9..da8f025 100644 --- a/script-opts/modernz.conf +++ b/script-opts/modernz.conf @@ -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 diff --git a/script-opts/mpv-youtube-queue.conf b/script-opts/mpv-youtube-queue.conf index 77179c8..310bc21 100644 --- a/script-opts/mpv-youtube-queue.conf +++ b/script-opts/mpv-youtube-queue.conf @@ -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