Use fastfetch
This commit is contained in:
parent
05589f0d2d
commit
17f8ee38a0
4 changed files with 93 additions and 63 deletions
92
modules/common/fastfetch.nix
Normal file
92
modules/common/fastfetch.nix
Normal file
|
@ -0,0 +1,92 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
environment.shellAliases.neofetch = "${lib.getExe pkgs.fastfetch} --config ${pkgs.writers.writeJSON "fastfetch.json" {
|
||||
logo = rec {
|
||||
height = 16;
|
||||
width = height;
|
||||
};
|
||||
display.separator = " ";
|
||||
modules = [
|
||||
"break"
|
||||
|
||||
{
|
||||
type = "custom";
|
||||
format = "{#light_blue}┌─────────{#} Hardware Information {#light_blue}──────────";
|
||||
}
|
||||
{
|
||||
type = "cpu";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "gpu";
|
||||
key = "├─";
|
||||
}
|
||||
{
|
||||
type = "board";
|
||||
key = "├";
|
||||
}
|
||||
|
||||
{
|
||||
type = "custom";
|
||||
format = "{#light_blue}├─────────{#} Software Information {#light_blue}──────────";
|
||||
}
|
||||
{
|
||||
type = "os";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "kernel";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "memory";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "disk";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "de";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "terminal";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "shell";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "font";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "wmtheme";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "icons";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "cursor";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "packages";
|
||||
key = "├";
|
||||
}
|
||||
{
|
||||
type = "custom";
|
||||
format = "{#light_blue}└────────────────────────────────────────";
|
||||
}
|
||||
|
||||
"break"
|
||||
];
|
||||
}}";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue