feat(ghostty): ajout du terminal Ghostty (réglages Omarchy)
Police JetBrains Mono Nerd Font, thème Catppuccin Mocha, marges, Shift+Entrée distinct d'Entrée pour les TUI. Sakura reste le terminal d'i3 pour comparer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f6e5bf6e2f
commit
a97f97c548
@@ -52,6 +52,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
|
||||||
|
./programs/ghostty.nix
|
||||||
./programs/git.nix
|
./programs/git.nix
|
||||||
./programs/i3.nix
|
./programs/i3.nix
|
||||||
./programs/pi.nix
|
./programs/pi.nix
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
# Réglages repris d'Omarchy - https://github.com/basecamp/omarchy/blob/master/config/ghostty/config
|
||||||
|
{
|
||||||
|
programs.ghostty = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
settings = {
|
||||||
|
font-family = "JetBrainsMono Nerd Font";
|
||||||
|
font-size = 10;
|
||||||
|
theme = "Catppuccin Mocha";
|
||||||
|
|
||||||
|
window-padding-x = 14;
|
||||||
|
window-padding-y = 14;
|
||||||
|
confirm-close-surface = false;
|
||||||
|
resize-overlay = "never";
|
||||||
|
|
||||||
|
cursor-style = "block";
|
||||||
|
cursor-style-blink = false;
|
||||||
|
shell-integration-features = "no-cursor,ssh-env";
|
||||||
|
|
||||||
|
keybind = [
|
||||||
|
"shift+insert=paste_from_clipboard"
|
||||||
|
"control+insert=copy_to_clipboard"
|
||||||
|
# Distingue Shift+Entrée d'Entrée pour les TUI (Claude Code…)
|
||||||
|
"shift+enter=csi:13;2u"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Lenteurs sous Hyprland - https://github.com/ghostty-org/ghostty/discussions/3224
|
||||||
|
async-backend = "epoll";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user