feat(fastfetch): use omarchy template

This commit is contained in:
Rasyidan Akbar F. 2025-10-29 11:48:36 +07:00
commit 6d06d4461b

View file

@ -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[90mHardware";
} }
{ {
type = "separator"; type = "host";
string = ""; key = " PC";
keyColor = "green";
}
{
type = "cpu";
key = " ";
showPeCoreCount = true;
keyColor = "green";
}
{
type = "gpu";
key = " ";
detectionMethod = "pci";
keyColor = "green";
}
{
type = "display";
key = " 󱄄";
keyColor = "green";
}
{
type = "disk";
key = " 󰋊";
keyColor = "green";
}
{
type = "memory";
key = " ";
keyColor = "green";
}
{
type = "swap";
key = " 󰓡 ";
keyColor = "green";
}
{
type = "custom";
format = "\\u001b[90m";
}
"break"
# Software Section
{
type = "custom";
format = "\\u001b[90mSoftware";
} }
{ {
type = "os"; type = "os";
key = " OS"; key = " OS";
keyColor = "cyan"; keyColor = "blue";
} }
{ {
type = "kernel"; type = "kernel";
key = "Kernel"; key = " ";
keyColor = "blue";
} }
{ {
type = "uptime"; type = "wm";
key = "Uptime"; key = " ";
} keyColor = "blue";
{
type = "packages";
key = "Packages";
}
{
type = "shell";
key = "Shell";
}
{
type = "display";
key = "Display";
compactType = "scaled";
} }
{ {
type = "de"; type = "de";
key = " DE"; key = " DE";
} keyColor = "blue";
{
type = "wm";
key = "WM";
} }
{ {
type = "terminal"; type = "terminal";
key = "Terminal"; key = " ";
keyColor = "blue";
}
{
type = "shell";
key = " ";
keyColor = "blue";
}
{
type = "packages";
key = " 󰏖";
keyColor = "blue";
}
{
type = "wmtheme";
key = " 󰉼";
keyColor = "blue";
} }
{ {
type = "terminalfont"; type = "terminalfont";
key = "Font"; key = " ";
keyColor = "blue";
} }
{ {
type = "cpu"; type = "custom";
key = "CPU"; format = "\\u001b[90m";
temp = true; }
"break"
# Uptime / Age Section
{
type = "custom";
format = "\\u001b[90mUptime / Age";
} }
{ {
type = "gpu"; type = "command";
key = "GPU"; key = "󱦟 OS Age";
temp = true; 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 = "memory"; type = "uptime";
key = "Memory"; key = "󱫐 Uptime";
keyColor = "magenta";
} }
{ {
type = "disk"; type = "custom";
key = "Disk (/)"; format = "\\u001b[90m";
folders = "/";
}
{
type = "separator";
string = "";
}
{
type = "colors";
paddingLeft = 2;
symbol = "circle";
} }
"break"
]; ];
}; };
} }