feat(terminal): replace kitty with alacritty + tabbed
This commit is contained in:
parent
b49348f887
commit
b438e062c2
|
@ -66,7 +66,6 @@ in
|
||||||
bindkey "$terminfo[kcud1]" history-substring-search-down
|
bindkey "$terminfo[kcud1]" history-substring-search-down
|
||||||
bindkey -M vicmd 'k' history-substring-search-up
|
bindkey -M vicmd 'k' history-substring-search-up
|
||||||
bindkey -M vicmd 'j' history-substring-search-down
|
bindkey -M vicmd 'j' history-substring-search-down
|
||||||
|
|
||||||
'';
|
'';
|
||||||
inherit shellAliases;
|
inherit shellAliases;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,49 +0,0 @@
|
||||||
# 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
|
|
|
@ -7,18 +7,20 @@ let
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# doesn't support font ligatures & undercurls
|
# doesn't yet support font ligatures & undercurls
|
||||||
# start with tabbed (need to override alacritty package)
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = runCommand "alacritty" {
|
||||||
|
buildInputs = [ makeWrapper ];
|
||||||
|
} ''
|
||||||
|
mkdir $out
|
||||||
|
ln -s ${alacritty}/* $out
|
||||||
|
rm $out/bin
|
||||||
|
makeWrapper ${tabbed}/bin/tabbed $out/bin/alacritty \
|
||||||
|
--add-flags "-c -n Alacritty" \
|
||||||
|
--add-flags "${alacritty}/bin/alacritty --embed"
|
||||||
|
'';
|
||||||
settings = recursiveUpdate {
|
settings = recursiveUpdate {
|
||||||
} (trivial.importJSON (yamlToJSON ./alacritty-gruvbox-dark.yml));
|
} (trivial.importJSON (yamlToJSON ./alacritty-gruvbox-dark.yml));
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.kitty = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = ''
|
|
||||||
${with builtins; readFile ./kitty-gruvbox-dark.conf}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue