1st commit
This commit is contained in:
commit
74d15b4c6a
25 changed files with 1328 additions and 0 deletions
112
home/modules/fastfetch.nix
Executable file
112
home/modules/fastfetch.nix
Executable file
|
|
@ -0,0 +1,112 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.fastfetch];
|
||||
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
logo = {
|
||||
source = "/home/benag/.nix-config/assets/bocchi/bocchi.txt";
|
||||
padding = {
|
||||
top = 1;
|
||||
left = 1;
|
||||
};
|
||||
};
|
||||
|
||||
display = {
|
||||
separator = " -> ";
|
||||
};
|
||||
|
||||
modules = [
|
||||
"break"
|
||||
{
|
||||
type = "custom";
|
||||
format = "┌──────────────────────Hardware──────────────────────┐";
|
||||
}
|
||||
{
|
||||
type = "title";
|
||||
key = " PC";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "disk";
|
||||
key = "│ ├";
|
||||
device = "/dev/sdb";
|
||||
keyColor = "green";
|
||||
}
|
||||
|
||||
{
|
||||
type = "cpu";
|
||||
key = "│ ├";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "gpu";
|
||||
key = "│ ├";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "memory";
|
||||
key = "└ └";
|
||||
keyColor = "green";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = "└────────────────────────────────────────────────────┘";
|
||||
}
|
||||
"break"
|
||||
{
|
||||
type = "custom";
|
||||
format = "┌──────────────────────Software──────────────────────┐";
|
||||
}
|
||||
{
|
||||
type = "os";
|
||||
key = " OS";
|
||||
keyColor = "yellow";
|
||||
}
|
||||
{
|
||||
type = "kernel";
|
||||
key = "│ ├";
|
||||
keyColor = "yellow";
|
||||
}
|
||||
{
|
||||
type = "packages";
|
||||
key = "│ ├";
|
||||
keyColor = "yellow";
|
||||
}
|
||||
{
|
||||
type = "shell";
|
||||
key = "└ └";
|
||||
keyColor = "yellow";
|
||||
}
|
||||
|
||||
{
|
||||
type = "custom";
|
||||
format = "└────────────────────────────────────────────────────┘";
|
||||
}
|
||||
/*
|
||||
"break"
|
||||
{
|
||||
type = "custom";
|
||||
format = "┌──────────────────────Age / DT──────────────────────┐";
|
||||
}
|
||||
{
|
||||
type = "command";
|
||||
key = " OS Age ";
|
||||
keyColor = "magenta";
|
||||
text = "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days";
|
||||
}
|
||||
{
|
||||
type = "datetime";
|
||||
key = " DateTime ";
|
||||
keyColor = "magenta";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = "└────────────────────────────────────────────────────┘";
|
||||
}
|
||||
*/
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue