1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Rice kitty

This commit is contained in:
RGBCube 2023-11-08 23:39:30 +03:00
parent 9e891fabb8
commit 6a0945372f
No known key found for this signature in database
3 changed files with 55 additions and 11 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, homeConfiguration, enabled, ... }:
{ pkgs, theme, homeConfiguration, enabled, ... }:
homeConfiguration "nixos" {
programs.kitty = enabled {
@ -12,8 +12,55 @@ homeConfiguration "nixos" {
theme = "Gruvbox Dark";
settings = {
focus_follows_mouse = true;
mouse_hide_wait = 0;
scrollback_lines = 100000;
mouse_hide_wait = 0;
scrollback_pager = "bat --chop-long-lines";
cursor = "#" + theme.foreground;
cursor_theme_color = "#" + theme.background;
cursor_shape = "beam";
url_color = "#" + theme.low;
strip_trailing_spaces = "always";
enable_audio_bell = false;
active_border_color = "#" + theme.activeHighlight;
inactive_border_color = "#" + theme.inactiveHighlight;
window_border_width = "0pt";
background = "#" + theme.background;
foreground = "#" + theme.foreground;
selection_background = "#" + theme.foreground;
selection_foreground = "#" + theme.background;
tab_bar_edge = "top";
active_tab_background = "#" + theme.background;
active_tab_foreground = "#" + theme.foreground;
inactive_tab_background = "#" + theme.backgroundLight;
inactive_tab_foreground = "#" + theme.foreground;
color0 = "665C54";
color2 = "98971A";
color3 = "D79921";
color4 = "458588";
color5 = "B16286";
color6 = "689D6A";
color7 = "A89984";
color8 = "7C6F64";
color9 = "FB4934";
color10 = "B8BB26";
color11 = "FABD2F";
color12 = "83A598";
color13 = "D3869B";
color14 = "8EC07C";
color15 = "BDAE93";
};
};
}

View file

@ -135,13 +135,9 @@ $env.config = {
let path = $tokens | last
ls $"($path)*" | each {|it|
let choice = if ($path | str ends-with "/") {
$path | path join ($it.name | path dbasen
heavyame)
$path | path join ($it.name | path basename)
} else {
$path | path dirname | path join ($it.name | path dbasen
heavyame)
$path | path dirname | path join ($it.name | path basename)
}
let choice = if ($it.type == "dir") and (not ($choice | str ends-with "/")) {
@ -172,7 +168,7 @@ $env.config = {
cursor_shape: {
emacs: line
vi_insert: blink_underscore
vi_insert: line
vi_normal: block
}

View file

@ -1,8 +1,9 @@
{
transparency = "FF"; # OPAQUE
background = "1D2021";
foreground = "DDC7A1";
background = "1D2021";
backgroundLight = "282828";
foreground = "DDC7A1";
activeHighlight = "D79921";
inactiveHighlight = "928374";