Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
feat: ghostty Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmVD3WoACgkQuFOtpdp7 v3pEIg//Q3NAjJrKYs6tKk/XKF1kHwqGzgbfC2F+c4U+SfCeiaZ4sWNpGMZc2is/ etAMvX8YIUdD58EIA5dq0/WD672p94Rlmku9XVZCNhRdii5DLTpqlrkhBNoTC0aO hn1zjgURhgslA6Ybwa23hVRgFCP5nKlRXvC5ZW5kJtzThjSEE7304jXVJO4oLZpw nIcAOEDqK0tGd4rcf6Y62Mv5E3Na5ZLX42PZNdMyhKNMAje6UXg5tVB8ZTw8lDAq PFZB6TbONkZ7UCrRvtxf6N9PYWli2fgEjRUthsjnnxI03ArPn9sr5clfLv0E+oXB FwG0NYpT9M7SZYcoc3R+92USVnHDho4HLVW3FhLADoG+F1CpNR6rrfLEin67Tw8z iBBWtAXYPehdf5gztzcOrWva5xyevO5snkqg4/eDCSzjY7wUd8S847KIiGTf+ZpF 7FUwWCR6FM0dhoPUf3IBiE7K/I5lKUsrJ/ErFJbyfNzd9JqJDCPlIg7ZajNQNZVx 0KMttuEaUclynR7D+xwLryyRYq/Lz2nXrSpp3UHCm0OO6Mj8Rn58brCi2naTvkS4 g0cDAaA4VDFCQIbgk7TfB4zFBNygbhBrPkG+Kjue6HPresI54sQOCt+kftK4yOlt uOeiz0/DdjphDIqzm8QjvAjn3W5q1D7H+1vv7UnMZbs0KXf+DYI= =b/Sc -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
1 year ago
2 changed files, 43 additions(+), 0 deletions(-)
M apps/gui/default.nix -> apps/gui/default.nix
diff --git a/apps/gui/default.nix b/apps/gui/default.nix
index a6aeec5a305510dba8fc9253cd20926de0e66340..fde9fd002038e7060be5e80f733237917a909756 100644
--- a/apps/gui/default.nix
+++ b/apps/gui/default.nix
@@ -2,6 +2,7 @@ {pkgs, ...}: {
   imports = [
     ../nogui
     ./firefox.nix
+    ./ghostty.nix
     ./gtk.nix
     ./spotifyd.nix
     ./tiny.nix
I apps/gui/ghostty.nix
diff --git a/apps/gui/ghostty.nix b/apps/gui/ghostty.nix
new file mode 100644
index 0000000000000000000000000000000000000000..cb634ed752c3ff6877487ebfa8a4c5822b26833d
--- /dev/null
+++ b/apps/gui/ghostty.nix
@@ -0,0 +1,42 @@
+{
+  xdg.configFile."ghostty/config".text = ''
+    background-opacity    = 0.9
+    command               = nu
+    confirm-close-surface = false
+
+    # Catppuccin
+    background           = 1E1E2E
+    foreground           = CDD6F4
+    cursor-color         = F5E0DC
+    selection-background = F5E0DC
+    selection-foreground = 1E1E2E
+    # black
+    palette = 0=#45475A
+    palette = 8=#585B70
+    # red
+    palette = 1=#F38BA8
+    palette = 9=#F38BA8
+    # green
+    palette = 2=#A6E3A1
+    palette = 10=#A6E3A1
+    # yellow
+    palette = 3=#F9E2AF
+    palette = 11=#F9E2AF
+    # blue
+    palette = 4=#89B4FA
+    palette = 12=#89B4FA
+    # magenta
+    palette = 5=#F5C2E7
+    palette = 13=#F5C2E7
+    # cyan
+    palette = 6=#94E2D5
+    palette = 14=#94E2D5
+    # white
+    palette = 7=#BAC2DE
+    palette = 15=#A6ADC8
+  '';
+  # zig build -p ~/.local/share/ghostty -Doptimize=ReleaseFast
+  xdg.systemDirs.data = ["/home/jolheiser/.local/share/ghostty/share"];
+  home.sessionPath = ["/home/jolheiser/.local/share/ghostty/bin"];
+  programs.bash.enable = true;
+}