feat(fastfetch): use omarchy template
This commit is contained in:
parent
c98ab6f0b2
commit
6d06d4461b
1 changed files with 94 additions and 49 deletions
|
|
@ -14,98 +14,143 @@
|
||||||
type = "file";
|
type = "file";
|
||||||
source = "~/.config/fastfetch/oguri-logo.txt";
|
source = "~/.config/fastfetch/oguri-logo.txt";
|
||||||
padding = {
|
padding = {
|
||||||
top = 1;
|
top = 2;
|
||||||
right = 2;
|
right = 6;
|
||||||
|
left = 2;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
display = {
|
display = { separator = " → "; };
|
||||||
separator = " → ";
|
|
||||||
color = {
|
|
||||||
keys = "cyan";
|
|
||||||
title = "blue";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
"break"
|
||||||
|
|
||||||
|
# Hardware Section
|
||||||
{
|
{
|
||||||
type = "title";
|
type = "custom";
|
||||||
format = "{user-name}@{host-name}";
|
format = "\\u001b[90m┌──────────────────────Hardware──────────────────────┐";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "separator";
|
type = "host";
|
||||||
string = "─";
|
key = " PC";
|
||||||
}
|
keyColor = "green";
|
||||||
{
|
|
||||||
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";
|
type = "cpu";
|
||||||
key = "CPU";
|
key = "│ ├";
|
||||||
temp = true;
|
showPeCoreCount = true;
|
||||||
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "gpu";
|
type = "gpu";
|
||||||
key = "GPU";
|
key = "│ ├";
|
||||||
temp = true;
|
detectionMethod = "pci";
|
||||||
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "memory";
|
type = "display";
|
||||||
key = "Memory";
|
key = "│ ├";
|
||||||
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "disk";
|
type = "disk";
|
||||||
key = "Disk (/)";
|
key = "│ ├";
|
||||||
folders = "/";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "separator";
|
type = "memory";
|
||||||
string = "─";
|
key = "│ ├";
|
||||||
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "colors";
|
type = "swap";
|
||||||
paddingLeft = 2;
|
key = "└ └ ";
|
||||||
symbol = "circle";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
format = "\\u001b[90m└────────────────────────────────────────────────────┘";
|
||||||
|
}
|
||||||
|
"break"
|
||||||
|
|
||||||
|
# Software Section
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
format = "\\u001b[90m┌──────────────────────Software──────────────────────┐";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "os";
|
||||||
|
key = " OS";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "kernel";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "wm";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "de";
|
||||||
|
key = " DE";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "terminal";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "shell";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "packages";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "wmtheme";
|
||||||
|
key = "│ ├";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "terminalfont";
|
||||||
|
key = "└ └";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
format = "\\u001b[90m└────────────────────────────────────────────────────┘";
|
||||||
|
}
|
||||||
|
"break"
|
||||||
|
|
||||||
|
# Uptime / Age Section
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
format = "\\u001b[90m┌────────────────────Uptime / Age────────────────────┐";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "command";
|
||||||
|
key = " OS Age";
|
||||||
|
keyColor = "magenta";
|
||||||
|
# macOS compatible stat command
|
||||||
|
text = "if [ $(uname) = 'Darwin' ]; then birth=$(stat -f %B /); else birth=$(stat -c %W /); fi; current=$(date +%s); days=$(( (current - birth) / 86400 )); echo \"$days days\"";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "uptime";
|
||||||
|
key = " Uptime";
|
||||||
|
keyColor = "magenta";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
format = "\\u001b[90m└────────────────────────────────────────────────────┘";
|
||||||
|
}
|
||||||
|
"break"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue