feat(terminal): replace kitty with alacritty + tabbed
This commit is contained in:
parent
b49348f887
commit
b438e062c2
3 changed files with 11 additions and 59 deletions
|
@ -7,18 +7,20 @@ let
|
|||
'';
|
||||
in
|
||||
{
|
||||
# doesn't support font ligatures & undercurls
|
||||
# start with tabbed (need to override alacritty package)
|
||||
# doesn't yet support font ligatures & undercurls
|
||||
programs.alacritty = {
|
||||
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 {
|
||||
} (trivial.importJSON (yamlToJSON ./alacritty-gruvbox-dark.yml));
|
||||
};
|
||||
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
${with builtins; readFile ./kitty-gruvbox-dark.conf}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue