feat: add customized fastfetch config
This commit is contained in:
parent
b95063009b
commit
2bb49bba38
3 changed files with 130 additions and 0 deletions
111
modules/home/rsydn/programs/fastfetch.nix
Normal file
111
modules/home/rsydn/programs/fastfetch.nix
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = [ pkgs.fastfetch ];
|
||||
|
||||
# Copy the custom logo file
|
||||
xdg.configFile."fastfetch/oguri-logo.txt".source = ./fastfetch/oguri-logo.txt;
|
||||
|
||||
xdg.configFile."fastfetch/config.jsonc".text = builtins.toJSON {
|
||||
"$schema" =
|
||||
"https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
|
||||
|
||||
logo = {
|
||||
type = "file";
|
||||
source = "~/.config/fastfetch/oguri-logo.txt";
|
||||
padding = {
|
||||
top = 1;
|
||||
right = 2;
|
||||
};
|
||||
};
|
||||
|
||||
display = {
|
||||
separator = " → ";
|
||||
color = {
|
||||
keys = "cyan";
|
||||
title = "blue";
|
||||
};
|
||||
};
|
||||
|
||||
modules = [
|
||||
{
|
||||
type = "title";
|
||||
format = "{user-name}@{host-name}";
|
||||
}
|
||||
{
|
||||
type = "separator";
|
||||
string = "─";
|
||||
}
|
||||
{
|
||||
type = "os";
|
||||
key = "OS";
|
||||
keyColor = "cyan";
|
||||
}
|
||||
{
|
||||
type = "kernel";
|
||||
key = "Kernel";
|
||||
}
|
||||
{
|
||||
type = "uptime";
|
||||
key = "Uptime";
|
||||
}
|
||||
{
|
||||
type = "packages";
|
||||
key = "Packages";
|
||||
}
|
||||
{
|
||||
type = "shell";
|
||||
key = "Shell";
|
||||
}
|
||||
{
|
||||
type = "display";
|
||||
key = "Display";
|
||||
compactType = "scaled";
|
||||
}
|
||||
{
|
||||
type = "de";
|
||||
key = "DE";
|
||||
}
|
||||
{
|
||||
type = "wm";
|
||||
key = "WM";
|
||||
}
|
||||
{
|
||||
type = "terminal";
|
||||
key = "Terminal";
|
||||
}
|
||||
{
|
||||
type = "terminalfont";
|
||||
key = "Font";
|
||||
}
|
||||
{
|
||||
type = "cpu";
|
||||
key = "CPU";
|
||||
temp = true;
|
||||
}
|
||||
{
|
||||
type = "gpu";
|
||||
key = "GPU";
|
||||
temp = true;
|
||||
}
|
||||
{
|
||||
type = "memory";
|
||||
key = "Memory";
|
||||
}
|
||||
{
|
||||
type = "disk";
|
||||
key = "Disk (/)";
|
||||
folders = "/";
|
||||
}
|
||||
{
|
||||
type = "separator";
|
||||
string = "─";
|
||||
}
|
||||
{
|
||||
type = "colors";
|
||||
paddingLeft = 2;
|
||||
symbol = "circle";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue