config.source("gruvbox.py")

c.fonts.default_size = '14px'
c.fonts.default_family = 'Adwaita Mono'

c.tabs.padding = {'top': 0, 'bottom': 0, 'left': 8, 'right': 8}
c.tabs.indicator.width = 0 # no tab indicators

c.editor.command = ['alacritty', '-e', 'nvim', '-f', '{file}', '-c', 'normal {line}G{column0}l']

c.fileselect.handler = 'default'
c.fileselect.folder.command = ['alacritty', '-e', 'ranger', '--choosedir={}']
c.fileselect.multiple_files.command = ['alacritty', '-e', 'ranger', '--choosefiles={}']
c.fileselect.single_file.command = ['alacritty', '-e', 'ranger', '--choosefile={}']

c.colors.webpage.preferred_color_scheme = 'dark'

config.bind('<Ctrl-v>', 'spawn mpv {url}')

c.content.blocking.enabled = True
config.load_autoconfig(False)
