working on starship
This commit is contained in:
+336
-370
File diff suppressed because it is too large
Load Diff
+2
-36
@@ -1307,42 +1307,8 @@ This file sets up starship prompt
|
|||||||
{
|
{
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Replace the default starship.toml with your custom file
|
# Load your custom starship.toml directly
|
||||||
settings = {
|
settings = builtins.readFile ./assets/system/conf/starship.toml;
|
||||||
# This assumes your Nix flake or configuration is in the same directory as the assets folder
|
|
||||||
# If not, adjust the path accordingly
|
|
||||||
config = ''
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](bold green)"
|
|
||||||
error_symbol = "[❯](bold red)"
|
|
||||||
vicmd_symbol = "[❮](bold green)"
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
truncation_length = 3
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[(*$conflicted$untracked$modified$staged$renamed$deleted)](242) "
|
|
||||||
conflicts = ""
|
|
||||||
ahead = "⇡${count} "
|
|
||||||
behind = "⇣${count} "
|
|
||||||
diverged = "⇕⇡${ahead_count}⇣${behind_count} "
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = "+${count} "
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
|
|
||||||
[package]
|
|
||||||
disabled = true
|
|
||||||
'';
|
|
||||||
# Path to your custom starship.toml file
|
|
||||||
# Use builtins.toFile to embed the file directly or readFile to reference it
|
|
||||||
# Here, we use `readFile` to include the file directly
|
|
||||||
configFile = "${./assets/system/conf/starship.toml}";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,41 +3,7 @@
|
|||||||
{
|
{
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Replace the default starship.toml with your custom file
|
# Load your custom starship.toml directly
|
||||||
settings = {
|
settings = builtins.readFile ./assets/system/conf/starship.toml;
|
||||||
# This assumes your Nix flake or configuration is in the same directory as the assets folder
|
|
||||||
# If not, adjust the path accordingly
|
|
||||||
config = ''
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](bold green)"
|
|
||||||
error_symbol = "[❯](bold red)"
|
|
||||||
vicmd_symbol = "[❮](bold green)"
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
truncation_length = 3
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[(*$conflicted$untracked$modified$staged$renamed$deleted)](242) "
|
|
||||||
conflicts = ""
|
|
||||||
ahead = "⇡${count} "
|
|
||||||
behind = "⇣${count} "
|
|
||||||
diverged = "⇕⇡${ahead_count}⇣${behind_count} "
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = "+${count} "
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
|
|
||||||
[package]
|
|
||||||
disabled = true
|
|
||||||
'';
|
|
||||||
# Path to your custom starship.toml file
|
|
||||||
# Use builtins.toFile to embed the file directly or readFile to reference it
|
|
||||||
# Here, we use `readFile` to include the file directly
|
|
||||||
configFile = "${./assets/system/conf/starship.toml}";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user