From 3c7bdc0c42646f71221eb20862176bd14beaf0e5 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Sat, 25 Apr 2026 22:36:29 -0400 Subject: [PATCH] ghostty: colors --- home/progs/ghostty.nix | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/home/progs/ghostty.nix b/home/progs/ghostty.nix index 6851d91..d2cfb75 100644 --- a/home/progs/ghostty.nix +++ b/home/progs/ghostty.nix @@ -1,11 +1,42 @@ -{ pkgs, ... }: +{ ... }: { # https://mynixos.com/home-manager/option/programs.ghostty programs.ghostty = { enable = true; enableFishIntegration = true; + + # custom palette ported verbatim from the previous alacritty config + # (poimandres-ish). lives in ~/.config/ghostty/themes/poimandres and is + # selected by `theme = "poimandres"` below. + themes.poimandres = { + palette = [ + "0=#1b1e28" + "1=#d0679d" + "2=#5de4c7" + "3=#fffac2" + "4=#435c89" + "5=#fcc5e9" + "6=#add7ff" + "7=#ffffff" + "8=#a6accd" + "9=#d0679d" + "10=#5de4c7" + "11=#fffac2" + "12=#add7ff" + "13=#fae4fc" + "14=#89ddff" + "15=#ffffff" + ]; + background = "131621"; + foreground = "a6accd"; + cursor-color = "a6accd"; + cursor-text = "131621"; + selection-background = "303340"; + selection-foreground = "a6accd"; + }; + settings = { - theme = "Adventure"; + theme = "poimandres"; # font font-family = "JetBrainsMono Nerd Font"; @@ -18,7 +49,7 @@ window-width = 80; window-height = 40; - # semi-transparent + # semi-transparent background background-opacity = 0.90; # cursor