Home

dotnix @b64d578fd518fce0dd95f2676179356d3149907c - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / apps / gui / ghostty.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  xdg.configFile."ghostty/config".text = ''
    background-opacity    = 0.9
    command               = nu
    confirm-close-surface = false
    font-family = JetBrainsMono Nerd Font

    # 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;
}