feat(terminal): switch from gnome-terminal to kitty
This commit is contained in:
parent
17a527c023
commit
91dee66ef3
|
@ -45,4 +45,6 @@ in
|
|||
gnome3.totem
|
||||
gnome3.epiphany
|
||||
];
|
||||
|
||||
programs.gnome-terminal.enable = false;
|
||||
}
|
||||
|
|
|
@ -6,6 +6,10 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./terminal.nix
|
||||
];
|
||||
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
49
home/shell/kitty-gruvbox-dark.conf
Normal file
49
home/shell/kitty-gruvbox-dark.conf
Normal file
|
@ -0,0 +1,49 @@
|
|||
# gruvbox dark by morhetz, https://github.com/morhetz/gruvbox
|
||||
# This work is licensed under the terms of the MIT license.
|
||||
# For a copy, see https://opensource.org/licenses/MIT.
|
||||
|
||||
background #282828
|
||||
foreground #ebdbb2
|
||||
|
||||
cursor #928374
|
||||
|
||||
selection_foreground #928374
|
||||
selection_background #3c3836
|
||||
|
||||
color0 #282828
|
||||
color8 #928374
|
||||
|
||||
# red
|
||||
color1 #cc241d
|
||||
# light red
|
||||
color9 #fb4934
|
||||
|
||||
# green
|
||||
color2 #98971a
|
||||
# light green
|
||||
color10 #b8bb26
|
||||
|
||||
# yellow
|
||||
color3 #d79921
|
||||
# light yellow
|
||||
color11 #fabd2d
|
||||
|
||||
# blue
|
||||
color4 #458588
|
||||
# light blue
|
||||
color12 #83a598
|
||||
|
||||
# magenta
|
||||
color5 #b16286
|
||||
# light magenta
|
||||
color13 #d3869b
|
||||
|
||||
# cyan
|
||||
color6 #689d6a
|
||||
# lighy cyan
|
||||
color14 #8ec07c
|
||||
|
||||
# light gray
|
||||
color7 #a89984
|
||||
# dark gray
|
||||
color15 #928374
|
14
home/shell/terminal.nix
Normal file
14
home/shell/terminal.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = "Fira Code";
|
||||
package = pkgs.fira-code;
|
||||
};
|
||||
extraConfig = ''
|
||||
${with builtins; readFile ./kitty-gruvbox-dark.conf}
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue