zaneyos/config/fastfetch/default.nix

123 lines
3.7 KiB
Nix
Raw Normal View History

2024-07-13 06:29:22 +02:00
{
programs.fastfetch = {
2024-07-13 05:30:32 +02:00
enable = true;
2024-07-13 05:48:33 +02:00
settings = {
logo = {
source = ./nixos.png;
type = "kitty-direct";
height = 15;
width = 30;
padding = {
top = 3;
left = 3;
};
};
modules = [
"break"
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "Hardware";
outputColor = "90";
2024-07-13 05:48:33 +02:00
}
{
type = "cpu";
key = " ";
keyColor = "35";
}
{
type = "gpu";
key = " 󰍛";
keyColor = "35";
}
{
type = "memory";
key = " 󰑭";
keyColor = "35";
}
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "";
outputColor = "90";
2024-07-13 05:48:33 +02:00
}
"break"
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "Software";
outputColor = "90";
2024-07-13 05:48:33 +02:00
}
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = " OS -> ZaneyOS 2.2";
outputColor = "60";
2024-07-13 05:48:33 +02:00
}
{
type = "kernel";
key = " ";
keyColor = "31";
}
{
type = "packages";
key = " 󰏖";
keyColor = "31";
}
{
type = "shell";
key = " ";
keyColor = "31";
}
"break"
{
type = "wm";
key = " WM";
keyColor = "32";
}
{
type = "wmtheme";
key = " 󰉼";
keyColor = "32";
}
{
type = "terminal";
key = " ";
keyColor = "32";
}
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "";
outputColor = "90";
2024-07-13 05:48:33 +02:00
}
"break"
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "Uptime / Age";
outputColor = "90";
2024-07-13 05:48:33 +02:00
}
{
type = "command";
key = " ";
keyColor = "33";
text = #bash
2024-07-13 05:48:33 +02:00
''
birth_install=$(stat -c %W /)
current=$(date +%s)
delta=$((current - birth_install))
delta_days=$((delta / 86400))
echo $delta_days days
'';
}
{
type = "uptime";
key = " ";
keyColor = "33";
}
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "";
outputColor = "90";
2024-07-13 05:48:33 +02:00
}
"break"
];
};
};
}