mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
style: revamp terminal styling
Use OneDark theme from kitty-themes
This commit is contained in:
parent
b3a6727587
commit
4ce92e365e
3 changed files with 46 additions and 54 deletions
|
|
@ -5,11 +5,11 @@
|
|||
...
|
||||
}: let
|
||||
cfg = config.programs.kitty;
|
||||
|
||||
inherit (pkgs) myPkgs';
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = let
|
||||
inherit (pkgs) myPkgs';
|
||||
in [
|
||||
home.packages = [
|
||||
myPkgs'.altiosevka-nerd-font-mono
|
||||
];
|
||||
|
||||
|
|
@ -19,42 +19,34 @@ in {
|
|||
size = 13;
|
||||
};
|
||||
settings = {
|
||||
foreground = "#000000";
|
||||
background = "#ffffff";
|
||||
confirm_os_window_close = 0;
|
||||
# Make text thicker
|
||||
text_composition_strategy = lib.mkIf pkgs.stdenv.isLinux "2.8 0";
|
||||
};
|
||||
extraConfig =
|
||||
''
|
||||
background #ffffff
|
||||
foreground #000000
|
||||
cursor #2d2d2d
|
||||
cursor_text_color #ffffff
|
||||
selection_background #bbbbbb
|
||||
color0 #000000
|
||||
color8 #4d4d4d
|
||||
color1 #ca1243
|
||||
color9 #e61955
|
||||
color2 #50a14f
|
||||
color10 #67c761
|
||||
color3 #e5bf6d
|
||||
color11 #ffdf84
|
||||
color4 #4078f2
|
||||
color12 #6296ff
|
||||
color5 #950095
|
||||
color13 #b000b0
|
||||
color6 #0184bc
|
||||
color14 #00a6e6
|
||||
color7 #bbbbbb
|
||||
color15 #ffffff
|
||||
selection_foreground #f8f8f8
|
||||
|
||||
underline_hyperlinks never
|
||||
clear_all_shortcuts no
|
||||
''
|
||||
+ lib.optionalString config.programs.tmux.enable ''
|
||||
scrollback_lines 100
|
||||
'';
|
||||
# Don't prompt
|
||||
confirm_os_window_close = 0;
|
||||
|
||||
# Never underline links
|
||||
underline_hyperlinks = "never";
|
||||
|
||||
# No default bindings
|
||||
clear_all_shortcuts = "no";
|
||||
|
||||
# tmux does the scrollback
|
||||
scrollback_lines = lib.mkIf config.programs.tmux.enable 100;
|
||||
};
|
||||
extraConfig = let
|
||||
themes = let
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "kovidgoyal";
|
||||
repo = "kitty-themes";
|
||||
rev = "0cff02ac3934768c99af7450f415ea2a8e14605f";
|
||||
hash = "sha256-xSEsjCyafjx5t85Mp+39cRvNlt9awyCY7GXc0gaPtdk=";
|
||||
};
|
||||
in
|
||||
src + "/themes";
|
||||
in ''
|
||||
include ${themes}/GitHub_Light.conf
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue