aboutsummaryrefslogtreecommitdiff
path: root/config/ghostty.nix
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 02:52:38 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 02:52:38 +0530
commita9d1d6b2ac23c4b19e715a2cf5b66706247c9a94 (patch)
tree94cf4930fd539e9af21ed936b8e467f9391e308b /config/ghostty.nix
parentcd5bb0c381987f434afc1f6a457f26df9697f196 (diff)
downloadodysseus-a9d1d6b2ac23c4b19e715a2cf5b66706247c9a94.zip
odysseus-a9d1d6b2ac23c4b19e715a2cf5b66706247c9a94.tar.gz
ghostty config added
Diffstat (limited to 'config/ghostty.nix')
-rw-r--r--config/ghostty.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/config/ghostty.nix b/config/ghostty.nix
new file mode 100644
index 0000000..7e7aef6
--- /dev/null
+++ b/config/ghostty.nix
@@ -0,0 +1,47 @@
+{ ... }:
+
+{
+ programs.ghostty = {
+ enable = true;
+
+ settings = {
+ theme = "Catppuccin Mocha";
+ #background = "#282a36";
+ "background-opacity" = 0.9;
+
+ #custom-shader = "/home/swarn/.config/ghostty/bettercrt.glsl";
+
+ "window-vsync" = true;
+
+ title = "Ghostty";
+ class = "ghostty";
+
+ "shell-integration" = "zsh";
+
+ "quick-terminal-position" = "top";
+ "quick-terminal-autohide" = false;
+
+ "font-family" = "LythMono Nerd Font";
+ "font-size" = 16;
+
+ "cursor-style" = "block";
+ "cursor-style-blink" = false;
+ "shell-integration-features" = "no-cursor";
+
+ #gtk-titlebar = false;
+ "window-decoration" = "server";
+ "confirm-close-surface" = false;
+
+ "window-theme" = "ghostty";
+
+ "window-padding-x" = 8;
+ "window-padding-y" = 2;
+ "window-padding-balance" = true;
+
+ keybind = [
+ "alt+shift+r=reload_config"
+ "ctrl+a=toggle_quick_terminal"
+ ];
+ };
+ };
+}