mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +00:00
Better formatting
This commit is contained in:
parent
24008bfd5b
commit
d9d6eeb621
4 changed files with 300 additions and 296 deletions
|
@ -7,8 +7,7 @@ homeConfiguration "nixos" {
|
||||||
package = pkgs.gruvbox-dark-icons-gtk;
|
package = pkgs.gruvbox-dark-icons-gtk;
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings.global = {
|
||||||
global = {
|
|
||||||
horizontal_padding = 10;
|
horizontal_padding = 10;
|
||||||
padding = 10;
|
padding = 10;
|
||||||
|
|
||||||
|
@ -23,20 +22,19 @@ homeConfiguration "nixos" {
|
||||||
font = "JetBrainsMono 12";
|
font = "JetBrainsMono 12";
|
||||||
};
|
};
|
||||||
|
|
||||||
urgency_low = {
|
settings.urgency_low = {
|
||||||
frame_color = "#94A6FF";
|
frame_color = "#94A6FF";
|
||||||
timeout = 5;
|
timeout = 5;
|
||||||
};
|
};
|
||||||
|
|
||||||
urgency_normal = {
|
settings.urgency_normal = {
|
||||||
frame_color = "#FAA41A";
|
frame_color = "#FAA41A";
|
||||||
timeout = 10;
|
timeout = 10;
|
||||||
};
|
};
|
||||||
|
|
||||||
urgency_critical = {
|
settings.urgency_critical = {
|
||||||
frame_color = "#F15D22";
|
frame_color = "#F15D22";
|
||||||
timeout = 15;
|
timeout = 15;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,12 +4,16 @@
|
||||||
console = {
|
console = {
|
||||||
earlySetup = true;
|
earlySetup = true;
|
||||||
font = "Lat2-Terminus16";
|
font = "Lat2-Terminus16";
|
||||||
packages = with pkgs; [ terminus-nerdfont ];
|
packages = with pkgs; [
|
||||||
|
terminus-nerdfont
|
||||||
|
];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
(with pkgs; systemFonts [
|
(with pkgs; systemFonts [
|
||||||
(nerdfonts.override {
|
(nerdfonts.override {
|
||||||
fonts = [ "JetBrainsMono" ];
|
fonts = [
|
||||||
|
"JetBrainsMono"
|
||||||
|
];
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
|
|
|
@ -188,7 +188,7 @@ $env.config = {
|
||||||
pre_prompt: []
|
pre_prompt: []
|
||||||
pre_execution: []
|
pre_execution: []
|
||||||
env_change: {}
|
env_change: {}
|
||||||
display_output: "if (term size).columns >= 100 { table -e } else { table }"
|
display_output: "if (term size).columns >= 100 { table --expand } else { table }"
|
||||||
command_not_found: {}
|
command_not_found: {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ $env.config = {
|
||||||
type: {
|
type: {
|
||||||
layout: columnar
|
layout: columnar
|
||||||
columns: 4
|
columns: 4
|
||||||
col_width: 20 # Optional value. If missing all the screen width is used to calculate column width
|
col_width: 20
|
||||||
col_padding: 2
|
col_padding: 2
|
||||||
}
|
}
|
||||||
style: {
|
style: {
|
||||||
|
@ -230,7 +230,7 @@ $env.config = {
|
||||||
type: {
|
type: {
|
||||||
layout: description
|
layout: description
|
||||||
columns: 4
|
columns: 4
|
||||||
col_width: 20 # Optional value. If missing all the screen width is used to calculate column width
|
col_width: 20
|
||||||
col_padding: 2
|
col_padding: 2
|
||||||
selection_rows: 4
|
selection_rows: 4
|
||||||
description_rows: 10
|
description_rows: 10
|
||||||
|
@ -302,7 +302,7 @@ $env.config = {
|
||||||
modifier: none
|
modifier: none
|
||||||
keycode: escape
|
keycode: escape
|
||||||
mode: [ emacs, vi_normal, vi_insert ]
|
mode: [ emacs, vi_normal, vi_insert ]
|
||||||
event: { send: esc } # NOTE: does not appear to work
|
event: { send: esc }
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name: cancel_command
|
name: cancel_command
|
||||||
|
|
|
@ -3,10 +3,12 @@ $env.PROMPT_INDICATOR_VI_INSERT = "";
|
||||||
$env.PROMPT_INDICATOR_VI_NORMAL = "";
|
$env.PROMPT_INDICATOR_VI_NORMAL = "";
|
||||||
$env.PROMPT_MULTILINE_INDICATOR = "";
|
$env.PROMPT_MULTILINE_INDICATOR = "";
|
||||||
|
|
||||||
$env.ENV_CONVERSIONS = {
|
$env.ENV_CONVERSIONS.PATH = {
|
||||||
"PATH": {
|
from_string: {|string|
|
||||||
from_string: { |s| $s | split row (char esep) | path expand --no-symlink }
|
$string | split row (char esep) | path expand --no-symlink
|
||||||
to_string: { |v| $v | path expand --no-symlink | str join (char esep) }
|
}
|
||||||
|
to_string: {|value|
|
||||||
|
$value | path expand --no-symlink | str join (char esep)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue