51 lines
1.2 KiB
Nix
51 lines
1.2 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
hostname,
|
|
...
|
|
}: {
|
|
programs.ghostty = {
|
|
enable = true;
|
|
settings = {
|
|
font-family = "Iosevka Nerd Font";
|
|
font-size = 12;
|
|
|
|
theme = "Catppuccin Macchiato";
|
|
|
|
cursor-style = "block";
|
|
|
|
shell-integration-features = "no-cursor";
|
|
window-theme = "ghostty";
|
|
window-decoration =
|
|
if hostname == "pingbox"
|
|
then "none"
|
|
else "auto";
|
|
working-directory = "home";
|
|
|
|
unfocused-split-opacity = 1;
|
|
|
|
keybind = [
|
|
"ctrl+shift+enter>ctrl+shift+h=new_split:left"
|
|
"ctrl+shift+enter>ctrl+shift+l=new_split:right"
|
|
"ctrl+shift+enter>ctrl+shift+k=new_split:up"
|
|
"ctrl+shift+enter>ctrl+shift+j=new_split:down"
|
|
"ctrl+shift+enter>h=new_split:left"
|
|
"ctrl+shift+enter>l=new_split:right"
|
|
"ctrl+shift+enter>k=new_split:up"
|
|
"ctrl+shift+enter>j=new_split:down"
|
|
|
|
"ctrl+shift+f=toggle_split_zoom"
|
|
"alt+enter=toggle_split_zoom"
|
|
"ctrl+shift+h=goto_split:left"
|
|
"ctrl+shift+l=goto_split:right"
|
|
"ctrl+shift+k=goto_split:top"
|
|
"ctrl+shift+j=goto_split:bottom"
|
|
|
|
"ctrl+shift+m=toggle_tab_overview"
|
|
|
|
"ctrl+shift+alt+r=reset"
|
|
];
|
|
};
|
|
};
|
|
}
|