zaneyos/modules/home/fastfetch/default.nix

114 lines
3.2 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-14 00:32:16 +02:00
2024-07-13 05:48:33 +02:00
settings = {
2024-07-14 00:32:16 +02:00
display = {
color = {
keys = "35";
output = "90";
};
};
2024-07-13 05:48:33 +02:00
logo = {
2024-07-14 00:32:16 +02:00
source = ./nixos.png;
type = "kitty-direct";
height = 15;
width = 30;
padding = {
top = 3;
left = 3;
};
2024-07-13 05:48:33 +02:00
};
2024-07-14 00:32:16 +02:00
2024-07-13 05:48:33 +02:00
modules = [
"break"
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "Hardware";
2024-07-13 05:48:33 +02:00
}
{
type = "cpu";
2024-07-14 00:32:16 +02:00
key = " ";
2024-07-13 05:48:33 +02:00
}
{
type = "gpu";
2024-07-14 00:32:16 +02:00
key = " 󰍛 ";
2024-07-13 05:48:33 +02:00
}
{
type = "memory";
2024-07-14 00:32:16 +02:00
key = " 󰑭 ";
2024-07-13 05:48:33 +02:00
}
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "";
2024-07-13 05:48:33 +02:00
}
"break"
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "Software";
2024-07-13 05:48:33 +02:00
}
{
type = "custom";
2025-02-14 06:40:00 +01:00
format = " OS -> ZaneyOS 2.3";
2024-07-13 05:48:33 +02:00
}
{
type = "kernel";
2024-07-14 00:32:16 +02:00
key = " ";
2024-07-13 05:48:33 +02:00
}
{
type = "packages";
2024-07-14 00:32:16 +02:00
key = " 󰏖 ";
2024-07-13 05:48:33 +02:00
}
{
type = "shell";
2024-07-14 00:32:16 +02:00
key = " ";
2024-07-13 05:48:33 +02:00
}
"break"
{
type = "wm";
key = " WM";
}
{
type = "wmtheme";
2024-07-14 00:32:16 +02:00
key = " 󰉼 ";
2024-07-13 05:48:33 +02:00
}
{
type = "terminal";
2024-07-14 00:32:16 +02:00
key = " ";
2024-07-13 05:48:33 +02:00
}
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "";
2024-07-13 05:48:33 +02:00
}
"break"
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "Uptime / Age";
2024-07-13 05:48:33 +02:00
}
{
type = "command";
2024-07-14 00:32:16 +02:00
key = " ";
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";
2024-07-14 00:32:16 +02:00
key = " ";
2024-07-13 05:48:33 +02:00
}
{
type = "custom";
2024-07-13 06:03:27 +02:00
format = "";
2024-07-13 05:48:33 +02:00
}
"break"
];
};
};
}