2020-04-11 21:13:00 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
my-lib = import ../../lib;
|
|
|
|
inherit (my-lib) colors;
|
|
|
|
in {
|
2020-05-19 22:02:50 +00:00
|
|
|
home.sessionVariables.TERMINAL = "${pkgs.kitty}/bin/kitty";
|
|
|
|
programs.kitty = {
|
|
|
|
enable = true;
|
|
|
|
keybindings = {
|
|
|
|
"ctrl+shift+v" = "paste_from_clipboard";
|
|
|
|
"ctrl+plus" = "change_font_size all +1.0";
|
|
|
|
"ctrl+minus" = "change_font_size all -1.0";
|
|
|
|
};
|
|
|
|
settings = {
|
2020-05-21 23:09:38 +00:00
|
|
|
# linux_display_server = "wayland"; # Causes ugly decorations
|
2020-05-19 22:02:50 +00:00
|
|
|
font_size = "10.5";
|
|
|
|
|
|
|
|
foreground = colors.foreground;
|
|
|
|
background = colors.background;
|
|
|
|
background_opacity = "0.9";
|
|
|
|
|
|
|
|
selection_foreground = colors.background;
|
|
|
|
selection_background = colors.foreground;
|
|
|
|
|
|
|
|
# black
|
|
|
|
color0 = colors.black;
|
|
|
|
color8 = colors.brightBlack;
|
|
|
|
|
|
|
|
# red
|
|
|
|
color1 = colors.red;
|
|
|
|
color9 = colors.brightRed;
|
|
|
|
|
|
|
|
# green
|
|
|
|
color2 = colors.green;
|
|
|
|
color10 = colors.brightGreen;
|
|
|
|
|
|
|
|
# yellow
|
|
|
|
color3 = colors.yellow;
|
|
|
|
color11 = colors.brightYellow;
|
|
|
|
|
|
|
|
# blue
|
|
|
|
color4 = colors.blue;
|
|
|
|
color12 = colors.brightBlue;
|
|
|
|
|
|
|
|
# magenta
|
|
|
|
color5 = colors.magenta;
|
|
|
|
color13 = colors.brightMagenta;
|
|
|
|
|
|
|
|
# cyan
|
|
|
|
color6 = colors.cyan;
|
|
|
|
color14 = colors.brightCyan;
|
|
|
|
|
|
|
|
color7 = colors.white;
|
|
|
|
color15 = colors.brightWhite;
|
|
|
|
};
|
|
|
|
};
|
2020-04-11 21:13:00 +00:00
|
|
|
}
|