feat(ghostty): Improve Ghostty configuration

This commit is contained in:
Xavier Logerais committed 2026-11-27 10:33:12 +01:00
1 parent 294e6cd4ae
commit 14bc6de2c1
1 file changed
+32 -6
+32 -6
View File
@@ -42,8 +42,7 @@
# # Just for example: # # Just for example:
# resize-overlay-duration = 4s 200ms # resize-overlay-duration = 4s 200ms
shell-integration-features = sudo # Ajuste la taille de la fenêtre à la taille de l'écran au lancement
gtk-titlebar-hide-when-maximized = true
maximize maximize
# Ouvre les nouvelles fenêtres avec un répertoire de travail dans $HOME # Ouvre les nouvelles fenêtres avec un répertoire de travail dans $HOME
@@ -55,11 +54,38 @@ split-inherit-working-directory = true
# Permet d'ouvrir un nouvel onglet en conservant le répertoire de travail courant # Permet d'ouvrir un nouvel onglet en conservant le répertoire de travail courant
# keybind = shift+alt+t=new_tab:current # keybind = shift+alt+t=new_tab:current
keybind = ctrl+b>n=new_window keybind = ctrl+g>n=new_window
keybind = ctrl+b>t=new_tab keybind = ctrl+g>t=new_tab
keybind = ctrl+b>z=toggle_split_zoom keybind = ctrl+g>z=toggle_split_zoom
keybind = ctrl+b>`=toggle_quick_terminal keybind = ctrl+g>`=toggle_quick_terminal
shell-integration-features = sudo
# Systemd and D-Bus Integration # Systemd and D-Bus Integration
quit-after-last-window-closed = true quit-after-last-window-closed = true
quit-after-last-window-closed-delay = 5m quit-after-last-window-closed-delay = 5m
# === Intégration Linux ===
# Sous linux, masque la barre de menu quand la fenêtre est maximisée
gtk-titlebar-hide-when-maximized = true
# === Intégration macOS native ===
macos-non-native-fullscreen = false
macos-titlebar-style = tabs
# macos-titlebar-proxy-icon = visible
# macos-option-as-alt = true
# macos-window-shadow = true
keybind = global:cmd+`=toggle_quick_terminal
desktop-notifications = true
# === Polices optimisées pour macOS ===
font-family = "SF Mono"
font-size = 18
font-feature = +liga
font-feature = +calt
# === Thème adaptatif ===
# theme = auto
# macos-colorspace = displayp3