fix(fastfetch): adjust template

This commit is contained in:
Rasyidan Akbar F. 2025-10-29 13:42:30 +07:00
commit 18146157b5

View file

@ -6,8 +6,8 @@
# Copy the custom logo file # Copy the custom logo file
xdg.configFile."fastfetch/oguri-logo.txt".source = ./fastfetch/oguri-logo.txt; xdg.configFile."fastfetch/oguri-logo.txt".source = ./fastfetch/oguri-logo.txt;
xdg.configFile."fastfetch/config.jsonc".text = let xdg.configFile."fastfetch/config.jsonc".text =
esc = builtins.fromJSON "\"\\u001b\""; let esc = builtins.fromJSON ''"\u001b"'';
in builtins.toJSON { in builtins.toJSON {
"$schema" = "$schema" =
"https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json"; "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
@ -84,15 +84,15 @@
} }
{ {
type = "command"; type = "command";
key = "\ue900 OS"; key = "ue900 OS";
keyColor = "blue"; keyColor = "blue";
text = "version=$(omarchy-version); echo \"Omarchy $version\""; text = ''version=$(omarchy-version); echo "Omarchy $version"'';
} }
{ {
type = "command"; type = "command";
key = "󰘬 Branch"; key = "󰘬 Branch";
keyColor = "blue"; keyColor = "blue";
text = "branch=$(omarchy-version-branch); echo \"$branch\""; text = ''branch=$(omarchy-version-branch); echo "$branch"'';
} }
{ {
type = "kernel"; type = "kernel";