dotfiles/user/mpv/.config/mpv/script-opts/file_browser.conf

134 lines
4.7 KiB
Plaintext

#######################################################
# This is the default config file for mpv-file-browser
# https://github.com/CogentRedTester/mpv-file-browser
#######################################################
#root directories, separated by commas
#on linux you will probably want to add `/`,
#on windows this should be used to add different drive letters
#Examples:
#linux: root=~/,/
#windows: root=~/,C:/
root=~/
#characters to separate root directories, each character works individually
#this is in case one is using directories with strange names
root_separators=,;
#number of entries to show on the screen at once
num_entries=20
#wrap the cursor around the top and bottom of the list
wrap=no
#only show files compatible with mpv in the browser
filter_files=yes
#experimental feature that recurses directories concurrently when appending items to the playlist
#this feature has the potential for massive performance improvements when using addons with asynchronous IO
concurrent_recursion=no
#maximum number of recursions that can run concurrently
#if this number is too high it risks overflowing the mpv event queue, which will cause some directories to be dropped entirely
max_concurrency=16
#enable custom keybinds
#the keybind json file must go in ~~/script-opts
custom_keybinds=no
#file-browser only shows files that are compatible with mpv by default
#adding a file extension to this list will add it to the extension whitelist
#extensions are separated with the root separators, do not use any spaces
extension_whitelist=
#add file extensions to this list to disable default filetypes
#note that this will also override audio/subtitle_extension options below
extension_blacklist=
#files with these extensions will be added as additional audio tracks for the current file instead of appended to the playlist
#items on this list are automatically added to the extension whitelist
audio_extensions=mka,dts,dtshd,dts-hd,truehd,true-hd
#files with these extensions will be added as additional subtitle tracks for the current file instead of appended to the playlist
#items on this list are automatically added to the extension whitelist
subtitle_extensions=etf,etf8,utf-8,idx,sub,srt,rt,ssa,ass,mks,vtt,sup,scc,smi,lrc,pgs
#filter directories or files starting with a period like .config
#for linux systems
filter_dot_dirs=no
filter_dot_files=no
#substitude forward slashes for backslashes when appending a local file to the playlist
#may be useful on windows systems
substitute_backslash=no
#this option reverses the behaviour of the alt+ENTER keybind
#when disabled the keybind is required to enable autoload for the file
#when enabled the keybind disables autoload for the file
autoload=no
#if autoload is triggered by selecting the currently playing file, then
#the current file will have it's watch-later config saved before being closed and re-opened
#essentially the current file will not be restarted
autoload_save_current=yes
#when opening the browser in idle mode prefer the current working directory over the root
#note that the working directory is set as the 'current' directory regardless, so `home` will
#move the browser there even if this option is set to false
default_to_working_directory=no
#enables addons
addons=no
addon_directory=~~/script-modules/file-browser-addons
#directory to load external modules - currently just user-input-module
module_directory=~~/script-modules
####################################
######### style settings ###########
####################################
#force file-browser to use a specific text alignment (default: top-left)
#uses ass tag alignment numbers: https://aegi.vmoe.info/docs/3.0/ASS_Tags/#index23h3
#set to 0 to use the default mpv osd-align options
alignment=7
#allows custom icons be set to fix incompatabilities with some fonts
#the `\h` character is a hard space to add padding
folder_icon=🖿
cursor_icon=➤
indent_icon=\h\h\h
#set the opacity of fonts in hexadecimal from 00 (opaque) to FF (transparent)
font_opacity_selection_marker=99
#print the header in bold font
font_bold_header=yes
#set custom font sizes
font_size_header=35
font_size_body=25
font_size_wrappers=16
#set custom font names, blank is the default
#setting custom fonts for the folder/cursor can fix broken or missing icons
font_name_header=
font_name_body=
font_name_wrappers=
font_name_folder=
font_name_cursor=
#set custom font colours
#colours are in hexadecimal format in Blue Green Red order
#note that this is the opposite order to most RGB colour codes
font_colour_header=00ccff
font_colour_body=ffffff
font_colour_wrappers=00ccff
font_colour_cursor=00ccff
#these are colours applied to list items in different states
font_colour_selected=fce788
font_colour_multiselect=fcad88
font_colour_playing=33ff66
font_colour_playing_multiselected=22b547