Skip to content

Commit

Permalink
More Ghostty tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
malob committed Dec 28, 2024
1 parent f8222e4 commit 04a974e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions darwin/homebrew.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ in
'';
};

# Hack: https://github.com/ghostty-org/ghostty/discussions/2832
environment.variables.XDG_DATA_DIRS =
mkIf (caskPresent "ghostty") ["$GHOSTTY_SHELL_INTEGRATION_XDG_DIR"];

# For cli packages that aren't currently available for macOS in `nixpkgs`. Packages should be
# installed in `../home/packages.nix` whenever possible.
homebrew.brews = [
Expand Down
10 changes: 7 additions & 3 deletions home/ghostty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,22 @@ in
xdg.configFile."ghostty/config".text = toKeyValue { mkKeyValue = mkKeyValueDefault { } " = "; } {
font-family = "PragmataPro Liga";
font-size = 14;
font-thicken = true;

adjust-cell-height = "40%";
adjust-cursor-height = "40%";
adjust-cursor-thickness = "100%";
adjust-underline-thickness = "400%";
adjust-box-thickness = "100%";
adjust-underline-thickness = "400%";

theme = "light:Solarized Light,dark:Solarized Dark";

window-theme = "system";
window-colorspace = "display-p3";
background-opacity = 0.9;
background-blur-radius = 20;
window-padding-x = 10;
window-padding-y = 10;

window-colorspace = "display-p3";
auto-update = "download";
};
}

0 comments on commit 04a974e

Please sign in to comment.