starship & fastfetch replaced home conf with settings
This commit is contained in:
@@ -1,8 +1,50 @@
|
|||||||
{...}: {
|
{...}: {
|
||||||
programs.fastfetch = {
|
programs.fastfetch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
|
||||||
|
logo = {
|
||||||
|
type = "small";
|
||||||
|
padding = {
|
||||||
|
right = 5;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
home.file.".config/fastfetch/config.jsonc" = {
|
|
||||||
source = builtins.toPath ./small.jsonc;
|
modules = [
|
||||||
|
{
|
||||||
|
key = "{#31}██ Distro";
|
||||||
|
type = "os";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "{#32}██ Kernel";
|
||||||
|
type = "kernel";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "{#33}██ Uptime";
|
||||||
|
type = "uptime";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "{#35}██ Shell";
|
||||||
|
type = "shell";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "{#36}██ Local IP";
|
||||||
|
type = "localip";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "{#37}██ Memory";
|
||||||
|
type = "memory";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "{#38}██ Home";
|
||||||
|
type = "disk";
|
||||||
|
folders = "/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
# home.file.".config/fastfetch/config.jsonc" = {
|
||||||
|
# source = builtins.toPath ./small.jsonc;
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,62 @@
|
|||||||
{...}: {
|
{lib, ...}: {
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
format = lib.concatStrings [
|
||||||
|
"$username"
|
||||||
|
"$hostname"
|
||||||
|
"$directory"
|
||||||
|
"$git_branch"
|
||||||
|
"$git_state"
|
||||||
|
"$git_status"
|
||||||
|
"$cmd_duration"
|
||||||
|
"$line_break"
|
||||||
|
"$python"
|
||||||
|
"$character"
|
||||||
|
];
|
||||||
|
|
||||||
|
directory = {
|
||||||
|
style = "blue";
|
||||||
|
};
|
||||||
|
|
||||||
|
character = {
|
||||||
|
success_symbol = "[❯](purple)";
|
||||||
|
error_symbol = "[❯](red)";
|
||||||
|
vimcmd_symbol = "[❮](green)";
|
||||||
|
};
|
||||||
|
|
||||||
|
git_branch = {
|
||||||
|
format = "[$branch]($style)";
|
||||||
|
style = "bright-black";
|
||||||
|
};
|
||||||
|
git_status = {
|
||||||
|
format = "[(*$conflicted$untracked$modified$staged$renamed$deleted) $ahead_behind$stashed]($style)";
|
||||||
|
style = "cyan";
|
||||||
|
conflicted = "";
|
||||||
|
untracked = "";
|
||||||
|
modified = "";
|
||||||
|
staged = "";
|
||||||
|
renamed = "";
|
||||||
|
deleted = "";
|
||||||
|
stashed = "≡";
|
||||||
|
};
|
||||||
|
git_state = {
|
||||||
|
format = "([$state( $progress_current/$progress_total)]($style)) ";
|
||||||
|
style = "bright-black";
|
||||||
|
};
|
||||||
|
|
||||||
|
cmd_duration = {
|
||||||
|
format = "[$duration]($style) ";
|
||||||
|
style = "yellow";
|
||||||
|
};
|
||||||
|
|
||||||
|
python = {
|
||||||
|
format = "[$virtualenv]($style) ";
|
||||||
|
style = "bright-black";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
home.file.".config/starship.toml" = {
|
# home.file.".config/starship.toml" = {
|
||||||
source = builtins.toPath ./pure.toml;
|
# source = builtins.toPath ./pure.toml;
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user