Added Foot terminal configuration

This commit is contained in:
Fabio Scotto di Santolo
2025-07-14 15:55:20 +02:00
parent 5cbe38ec62
commit ec06f7538b
3 changed files with 79 additions and 6 deletions

View File

@@ -0,0 +1,72 @@
# === General settings ===
[main]
shell=/bin/zsh # Default shell to launch in the terminal
font=FiraCode Nerd Font:size=14 # Font family and size used in the terminal
initial-window-size-chars=160x45 # Initial size in character columns x rows
scrollback-lines=10000 # Number of scrollback lines to keep in history
bold-is-bright=yes # Use bright variants of colors for bold text
selection-target=clipboard # Copy selected text directly to system clipboard
term=xterm-256color # Terminal type identifier (useful for compatibility)
# === Mouse settings ===
[mouse]
hide-when-typing=yes # Automatically hide the mouse cursor while typing
# === Scrollback bar indicator settings ===
[scrollback]
indicator-position=inline # Position of scroll indicator (inline with content)
indicator-format=─ %p ─ # Format of scroll indicator (e.g., "─ 50% ─")
# === Key bindings ===
[key-bindings]
page-up=Shift+Page_Up # Scroll up
page-down=Shift+Page_Down # Scroll down
copy=Control+Shift+c # Copy selected text to clipboard
paste=Control+Shift+v # Paste from clipboard
# === Cursor appearance ===
[cursor]
style=beam # Beam-style (vertical bar) cursor
blink=true # Cursor should blink
beam-thickness=3 # Thickness of the beam cursor
color=232634 f2d5cf # Cursor color: background and foreground
# === Catppuccin Frappé color scheme ===
[colors]
foreground=c6d0f5 # Default text color
background=303446 # Default background color
# Standard ANSI colors (07)
regular0=51576d # Black
regular1=e78284 # Red
regular2=a6d189 # Green
regular3=e5c890 # Yellow
regular4=8caaee # Blue
regular5=f4b8e4 # Magenta
regular6=81c8be # Cyan
regular7=b5bfe2 # White
# Bright ANSI colors (815)
bright0=626880 # Bright Black
bright1=e78284 # Bright Red
bright2=a6d189 # Bright Green
bright3=e5c890 # Bright Yellow
bright4=8caaee # Bright Blue
bright5=f4b8e4 # Bright Magenta
bright6=81c8be # Bright Cyan
bright7=a5adce # Bright White
# Extended color palette (optional, 16+)
16=ef9f76 # Orange (extra color used in jump labels, etc.)
17=f2d5cf # Pink (used for selection, search highlights)
# === UI accents ===
selection-foreground=c6d0f5 # Text color when text is selected
selection-background=4f5369 # Background color for selected text
search-box-no-match=232634 e78284 # Search bar when no match is found (bg fg)
search-box-match=c6d0f5 414559 # Search bar when matches exist (fg bg)
jump-labels=232634 ef9f76 # Color for jump labels (e.g., used in mode switching or fuzzy nav)
urls=8caaee # Color used to highlight URLs in text