Skip to content

Commit

Permalink
Kitty -> Ghostty
Browse files Browse the repository at this point in the history
There are PRs in both nixpkgs and home-manager that haven't merged yet.
  • Loading branch information
samhh committed Dec 27, 2024
1 parent 1dd2060 commit b6c754e
Showing 1 changed file with 10 additions and 23 deletions.
33 changes: 10 additions & 23 deletions home/terminal.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,13 @@
{ pkgs, ... }:
{ ... }:

{
programs.kitty = {
enable = true;
font = {
package = pkgs.hasklig;
name = "Hasklig Regular";
};
shellIntegration.mode = "no-cursor";
settings = {
remember_window_size = false;
enabled_layouts = "fat, grid";
visual_window_select_characters = "tnseriao";
scrollback_pager_history_size = "10";
};
keybindings = {
"cmd+w" = "discard_event";
"cmd+t" = "launch --cwd=current";
"cmd+l" = "next_layout";
"cmd+e" = "focus_visible_window";
"cmd+f" = "show_scrollback";
"cmd+p" = "show_last_command_output";
};
};
xdg.configFile."ghostty/config".text = ''
background-blur-radius = 20
background-opacity = 0.92
cursor-style-blink = false
font-size = 12
shell-integration-features = no-cursor
theme = light:catppuccin-latte,dark:catppuccin-mocha
window-padding-x = 8
'';
}

0 comments on commit b6c754e

Please sign in to comment.