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

Better formatting

This commit is contained in:
RGBCube 2023-11-08 11:00:38 +03:00
parent 24008bfd5b
commit d9d6eeb621
No known key found for this signature in database
4 changed files with 300 additions and 296 deletions

View file

@ -7,8 +7,7 @@ homeConfiguration "nixos" {
package = pkgs.gruvbox-dark-icons-gtk;
};
settings = {
global = {
settings.global = {
horizontal_padding = 10;
padding = 10;
@ -23,20 +22,19 @@ homeConfiguration "nixos" {
font = "JetBrainsMono 12";
};
urgency_low = {
settings.urgency_low = {
frame_color = "#94A6FF";
timeout = 5;
};
urgency_normal = {
settings.urgency_normal = {
frame_color = "#FAA41A";
timeout = 10;
};
urgency_critical = {
settings.urgency_critical = {
frame_color = "#F15D22";
timeout = 15;
};
};
};
}

View file

@ -4,12 +4,16 @@
console = {
earlySetup = true;
font = "Lat2-Terminus16";
packages = with pkgs; [ terminus-nerdfont ];
packages = with pkgs; [
terminus-nerdfont
];
};
})
(with pkgs; systemFonts [
(nerdfonts.override {
fonts = [ "JetBrainsMono" ];
fonts = [
"JetBrainsMono"
];
})
])

View file

@ -188,7 +188,7 @@ $env.config = {
pre_prompt: []
pre_execution: []
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: {}
}
@ -200,7 +200,7 @@ $env.config = {
type: {
layout: columnar
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
}
style: {
@ -230,7 +230,7 @@ $env.config = {
type: {
layout: description
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
selection_rows: 4
description_rows: 10
@ -302,7 +302,7 @@ $env.config = {
modifier: none
keycode: escape
mode: [ emacs, vi_normal, vi_insert ]
event: { send: esc } # NOTE: does not appear to work
event: { send: esc }
}
{
name: cancel_command

View file

@ -3,10 +3,12 @@ $env.PROMPT_INDICATOR_VI_INSERT = "";
$env.PROMPT_INDICATOR_VI_NORMAL = "";
$env.PROMPT_MULTILINE_INDICATOR = "";
$env.ENV_CONVERSIONS = {
"PATH": {
from_string: { |s| $s | split row (char esep) | path expand --no-symlink }
to_string: { |v| $v | path expand --no-symlink | str join (char esep) }
$env.ENV_CONVERSIONS.PATH = {
from_string: {|string|
$string | split row (char esep) | path expand --no-symlink
}
to_string: {|value|
$value | path expand --no-symlink | str join (char esep)
}
}