🖌️ Styled Fastfetch, more info in README, alias for fastfetch

This commit is contained in:
2025-01-19 19:59:54 +01:00
parent 29ac28bd15
commit fd8ca5a8c3
5 changed files with 78 additions and 3 deletions

View File

@ -17,6 +17,7 @@ in
./cursors.nix
./default-applications.nix
./development
./fastfetch.nix
./fish.nix
./freetube.nix
./gtk.nix

View File

@ -0,0 +1,57 @@
{
programs.fastfetch = {
enable = true;
settings = {
logo = {
source = "${../Catppuccin.png}";
type = "kitty";
height = 18;
padding.top = 2;
};
display.separator = " ";
modules =
let
keyColor = "34";
module = type: key: {
inherit type key keyColor;
};
formatModule = type: key: format: {
inherit
type
key
format
keyColor
;
};
in
[
"break"
"break"
{
type = "title";
keyWidth = 10;
}
"break"
(module "os" " ")
(module "kernel" " ")
(formatModule "packages" " " "{} (nixpkgs)")
(module "shell" " ")
(module "terminal" " ")
(module "wm" " ")
(module "theme" " ")
(module "cursor" " ")
(module "terminalfont" " ")
(module "uptime" " ")
(formatModule "datetime" " " "{1}-{3}-{11}")
(module "cpu" " ")
(module "gpu" "󰤽 ")
(module "sound" " ")
(module "lm" " ")
"break"
"colors"
"break"
"break"
];
};
};
}