use HM module to config terminal
This commit is contained in:
parent
a505068b21
commit
15cc2f7f99
1 changed files with 49 additions and 61 deletions
|
|
@ -66,67 +66,6 @@ in
|
||||||
mouse-sensitive-fullscreen-window = false;
|
mouse-sensitive-fullscreen-window = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# GNOME Terminal configuration with Gruvbox Dark theme (matching ghostty)
|
|
||||||
"org/gnome/terminal/legacy" = {
|
|
||||||
schema-version = mkUint32 3;
|
|
||||||
default-show-menubar = false;
|
|
||||||
theme-variant = "dark";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Default terminal profile
|
|
||||||
"org/gnome/terminal/legacy/profiles:" = {
|
|
||||||
default = "b1dcc9dd-5262-4d8d-a863-c897e6d979b9";
|
|
||||||
list = [ "b1dcc9dd-5262-4d8d-a863-c897e6d979b9" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Terminal profile with Gruvbox Dark colors (matching ghostty config)
|
|
||||||
"org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9" = {
|
|
||||||
visible-name = "Default";
|
|
||||||
|
|
||||||
# Font settings - matching ghostty
|
|
||||||
use-system-font = false;
|
|
||||||
font = "JetBrainsMono Nerd Font Mono 14";
|
|
||||||
|
|
||||||
# Colors - Gruvbox Dark theme
|
|
||||||
use-theme-colors = false;
|
|
||||||
background-color = "rgb(20,25,31)"; # #14191f
|
|
||||||
foreground-color = "rgb(235,219,178)"; # Gruvbox fg
|
|
||||||
|
|
||||||
# Palette colors (Gruvbox Dark)
|
|
||||||
palette = [
|
|
||||||
"rgb(40,40,40)" # black
|
|
||||||
"rgb(204,36,29)" # red
|
|
||||||
"rgb(152,151,26)" # green
|
|
||||||
"rgb(215,153,33)" # yellow
|
|
||||||
"rgb(69,133,136)" # blue
|
|
||||||
"rgb(177,98,134)" # magenta
|
|
||||||
"rgb(104,157,106)" # cyan
|
|
||||||
"rgb(168,153,132)" # white
|
|
||||||
"rgb(146,131,116)" # bright black
|
|
||||||
"rgb(251,73,52)" # bright red
|
|
||||||
"rgb(184,187,38)" # bright green
|
|
||||||
"rgb(250,189,47)" # bright yellow
|
|
||||||
"rgb(131,165,152)" # bright blue
|
|
||||||
"rgb(211,134,155)" # bright magenta
|
|
||||||
"rgb(142,192,124)" # bright cyan
|
|
||||||
"rgb(235,219,178)" # bright white
|
|
||||||
];
|
|
||||||
|
|
||||||
# Cursor settings - matching ghostty
|
|
||||||
cursor-blink-mode = "off";
|
|
||||||
cursor-shape = "block";
|
|
||||||
|
|
||||||
# Scrollback
|
|
||||||
scrollback-lines = 10000;
|
|
||||||
|
|
||||||
# Bell
|
|
||||||
audible-bell = false;
|
|
||||||
|
|
||||||
# Other preferences
|
|
||||||
use-transparent-background = false;
|
|
||||||
default-size-columns = 160;
|
|
||||||
default-size-rows = 40;
|
|
||||||
};
|
|
||||||
|
|
||||||
# GNOME Console configuration
|
# GNOME Console configuration
|
||||||
"org/gnome/Console" = {
|
"org/gnome/Console" = {
|
||||||
|
|
@ -177,5 +116,54 @@ in
|
||||||
gnomeExtensions.hide-top-bar
|
gnomeExtensions.hide-top-bar
|
||||||
gnomeExtensions.pano
|
gnomeExtensions.pano
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# GNOME Terminal configuration with Gruvbox Dark theme (matching ghostty)
|
||||||
|
programs.gnome-terminal = {
|
||||||
|
enable = true;
|
||||||
|
showMenubar = false;
|
||||||
|
themeVariant = "dark";
|
||||||
|
|
||||||
|
profile."b1dcc9dd-5262-4d8d-a863-c897e6d979b9" = {
|
||||||
|
default = true;
|
||||||
|
visibleName = "Default";
|
||||||
|
|
||||||
|
# Font settings - matching ghostty
|
||||||
|
font = "JetBrainsMono Nerd Font Mono 12";
|
||||||
|
|
||||||
|
# Colors - Gruvbox Dark theme
|
||||||
|
colors = {
|
||||||
|
backgroundColor = "#14191f";
|
||||||
|
foregroundColor = "#ebdbb2";
|
||||||
|
palette = [
|
||||||
|
"#282828" # black
|
||||||
|
"#cc241d" # red
|
||||||
|
"#98971a" # green
|
||||||
|
"#d79921" # yellow
|
||||||
|
"#458588" # blue
|
||||||
|
"#b16286" # magenta
|
||||||
|
"#689d6a" # cyan
|
||||||
|
"#a89984" # white
|
||||||
|
"#928374" # bright black
|
||||||
|
"#fb4934" # bright red
|
||||||
|
"#b8bb26" # bright green
|
||||||
|
"#fabd2f" # bright yellow
|
||||||
|
"#83a598" # bright blue
|
||||||
|
"#d3869b" # bright magenta
|
||||||
|
"#8ec07c" # bright cyan
|
||||||
|
"#ebdbb2" # bright white
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Cursor settings - matching ghostty
|
||||||
|
cursorBlinkMode = "off";
|
||||||
|
cursorShape = "block";
|
||||||
|
|
||||||
|
# Scrollback
|
||||||
|
scrollbackLines = 10000;
|
||||||
|
|
||||||
|
# Bell
|
||||||
|
audibleBell = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue