fix(fastfetch): adjust template
This commit is contained in:
parent
6d06d4461b
commit
da47327b34
1 changed files with 36 additions and 38 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
logo = {
|
logo = {
|
||||||
type = "file";
|
type = "file";
|
||||||
source = "~/.config/fastfetch/oguri-logo.txt";
|
source = "~/.config/fastfetch/oguri-logo.txt";
|
||||||
|
color."1" = "green";
|
||||||
padding = {
|
padding = {
|
||||||
top = 2;
|
top = 2;
|
||||||
right = 6;
|
right = 6;
|
||||||
|
|
@ -20,7 +21,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
display = { separator = " → "; };
|
display = {
|
||||||
|
separator = " → ";
|
||||||
|
key = { width = 16; };
|
||||||
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
"break"
|
"break"
|
||||||
|
|
@ -28,128 +32,122 @@
|
||||||
# Hardware Section
|
# Hardware Section
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = "\\u001b[90m┌──────────────────────Hardware──────────────────────┐";
|
format =
|
||||||
|
"\\u001b[32m── Hardware──────────────────────────────────────────\\u001b[0m";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "host";
|
type = "host";
|
||||||
key = " PC";
|
key = " PC";
|
||||||
keyColor = "green";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "cpu";
|
type = "cpu";
|
||||||
key = "│ ├";
|
key = " CPU";
|
||||||
showPeCoreCount = true;
|
showPeCoreCount = true;
|
||||||
keyColor = "green";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "gpu";
|
type = "gpu";
|
||||||
key = "│ ├";
|
key = " GPU";
|
||||||
detectionMethod = "pci";
|
detectionMethod = "pci";
|
||||||
keyColor = "green";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "display";
|
type = "display";
|
||||||
key = "│ ├";
|
key = " Display";
|
||||||
keyColor = "green";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "disk";
|
type = "disk";
|
||||||
key = "│ ├";
|
key = " Disk";
|
||||||
keyColor = "green";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "memory";
|
type = "memory";
|
||||||
key = "│ ├";
|
key = " Memory";
|
||||||
keyColor = "green";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "swap";
|
type = "swap";
|
||||||
key = "└ └ ";
|
key = " Swap";
|
||||||
keyColor = "green";
|
keyColor = "green";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "\\u001b[90m└────────────────────────────────────────────────────┘";
|
|
||||||
}
|
|
||||||
"break"
|
"break"
|
||||||
|
|
||||||
# Software Section
|
# Software Section
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = "\\u001b[90m┌──────────────────────Software──────────────────────┐";
|
format =
|
||||||
|
"\\u001b[34m── Software──────────────────────────────────────────\\u001b[0m";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "os";
|
type = "command";
|
||||||
key = " OS";
|
key = "\ue900 OS";
|
||||||
keyColor = "blue";
|
keyColor = "blue";
|
||||||
|
text = "version=$(omarchy-version); echo \"Omarchy $version\"";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "command";
|
||||||
|
key = " Branch";
|
||||||
|
keyColor = "blue";
|
||||||
|
text = "branch=$(omarchy-version-branch); echo \"$branch\"";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "kernel";
|
type = "kernel";
|
||||||
key = "│ ├";
|
key = " Kernel";
|
||||||
keyColor = "blue";
|
keyColor = "blue";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "wm";
|
type = "wm";
|
||||||
key = "│ ├";
|
key = " WM";
|
||||||
keyColor = "blue";
|
keyColor = "blue";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "de";
|
type = "de";
|
||||||
key = " DE";
|
key = " DE";
|
||||||
keyColor = "blue";
|
keyColor = "blue";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "terminal";
|
type = "terminal";
|
||||||
key = "│ ├";
|
key = " Terminal";
|
||||||
keyColor = "blue";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "shell";
|
|
||||||
key = "│ ├";
|
|
||||||
keyColor = "blue";
|
keyColor = "blue";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "packages";
|
type = "packages";
|
||||||
key = "│ ├";
|
key = " Packages";
|
||||||
keyColor = "blue";
|
keyColor = "blue";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "wmtheme";
|
type = "wmtheme";
|
||||||
key = "│ ├";
|
key = " WM Theme";
|
||||||
keyColor = "blue";
|
keyColor = "blue";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "terminalfont";
|
type = "terminalfont";
|
||||||
key = "└ └";
|
key = " Terminal Font";
|
||||||
keyColor = "blue";
|
keyColor = "blue";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "\\u001b[90m└────────────────────────────────────────────────────┘";
|
|
||||||
}
|
|
||||||
"break"
|
"break"
|
||||||
|
|
||||||
# Uptime / Age Section
|
# Uptime / Age Section
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = "\\u001b[90m┌────────────────────Uptime / Age────────────────────┐";
|
format =
|
||||||
|
"\\u001b[35m── Uptime / Age─────────────────────────────────────\\u001b[0m";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "command";
|
type = "command";
|
||||||
key = " OS Age";
|
key = " OS Age";
|
||||||
keyColor = "magenta";
|
keyColor = "magenta";
|
||||||
# macOS compatible stat command
|
# 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\"";
|
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";
|
type = "uptime";
|
||||||
key = " Uptime";
|
key = " Uptime";
|
||||||
keyColor = "magenta";
|
keyColor = "magenta";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "\\u001b[90m└────────────────────────────────────────────────────┘";
|
|
||||||
}
|
|
||||||
"break"
|
"break"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue