[main]
term=xterm-256color
login-shell=yes
app-id=foot
title=foot
locked-title=no

[bell]
urgent=no
notify=no
visual=no
command=
command-focused=no

[scrollback]
lines=1000
multiplier=3.0
indicator-position=relative
indicator-format=""

[url]
launch=xdg-open ${url}
label-letters=sadfjklewcmpgh
osc8-underline=url-mode
protocols=http, https, ftp, ftps, file, gemini, gopher
uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]

[cursor]
style=beam
color=@CURSOR_COLOR@
blink=no
beam-thickness=1.5
underline-thickness=<font-metrics>

[mouse]
hide-when-typing=no
alternate-scroll-mode=yes

[colors]
alpha=0.95
background=@BACKGROUND_COLOR@
foreground=@FOREGROUND_COLOR@

# Material You color palette - will be injected by theming system
regular0=@COLOR0@
regular1=@COLOR1@
regular2=@COLOR2@
regular3=@COLOR3@
regular4=@COLOR4@
regular5=@COLOR5@
regular6=@COLOR6@
regular7=@COLOR7@

bright0=@COLOR8@
bright1=@COLOR9@
bright2=@COLOR10@
bright3=@COLOR11@
bright4=@COLOR12@
bright5=@COLOR13@
bright6=@COLOR14@
bright7=@COLOR15@

[csd]
preferred=server
size=26
font=@FONT_FAMILY@
color=@FOREGROUND_COLOR@
hide-when-maximized=no
double-click-to-maximize=yes
border-width=0
border-color=@BORDER_COLOR@
button-width=26
button-color=@BUTTON_COLOR@
button-minimize-color=@BUTTON_MINIMIZE_COLOR@
button-maximize-color=@BUTTON_MAXIMIZE_COLOR@
button-close-color=@BUTTON_CLOSE_COLOR@

[key-bindings]
scrollback-up-page=Shift+Page_Up
scrollback-up-half-page=none
scrollback-up-line=none
scrollback-down-page=Shift+Page_Down
scrollback-down-half-page=none
scrollback-down-line=none
clipboard-copy=Control+Shift+c XF86Copy
clipboard-paste=Control+Shift+v XF86Paste
primary-paste=Shift+Insert
search-start=Control+Shift+r
font-increase=Control+plus Control+equal Control+KP_Add
font-decrease=Control+minus Control+KP_Subtract
font-reset=Control+0 Control+KP_0
spawn-terminal=Control+Shift+n
minimize=none
maximize=none
fullscreen=F11
pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
pipe-selected=[xargs -r firefox] none
show-urls-launch=Control+Shift+u
show-urls-copy=none
show-urls-persistent=none
prompt-prev=Control+Shift+z
prompt-next=Control+Shift+x
unicode-input=Control+Shift+u
noop=none

[search-bindings]
cancel=Control+g Control+c Escape
commit=Return
find-prev=Control+r
find-next=Control+s
cursor-left=Left Control+b
cursor-left-word=Control+Left Mod1+b
cursor-right=Right Control+f
cursor-right-word=Control+Right Mod1+f
cursor-home=Home Control+a
cursor-end=End Control+e
delete-prev=BackSpace
delete-prev-word=Mod1+BackSpace Control+BackSpace
delete-next=Delete
delete-next-word=Mod1+d Control+Delete
extend-to-word-boundary=Control+w
extend-to-next-whitespace=Control+Shift+w
clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
primary-paste=Shift+Insert
unicode-input=none

[mouse-bindings]
selection-override-modifiers=Shift
primary-paste=BTN_MIDDLE
select-begin=BTN_LEFT
select-begin-block=Control+BTN_LEFT
select-extend=BTN_RIGHT
select-extend-character-wise=Control+BTN_RIGHT
select-word=BTN_LEFT-2
select-word-whitespace=Control+BTN_LEFT-2
select-row=BTN_LEFT-3
