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