From 282f1e4ba261c70d3a46966f346e7ed708337cec Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Tue, 22 Apr 2025 21:13:59 -0400 Subject: [PATCH] Refactor fastfetch configuration and clean up unused module definitions --- home/toph/common/core/fastfetch/default.nix | 63 +-------------------- 1 file changed, 3 insertions(+), 60 deletions(-) diff --git a/home/toph/common/core/fastfetch/default.nix b/home/toph/common/core/fastfetch/default.nix index 0e8bb4e..498d11b 100644 --- a/home/toph/common/core/fastfetch/default.nix +++ b/home/toph/common/core/fastfetch/default.nix @@ -5,6 +5,7 @@ ... }: { + #TODO: Scripts might need a rework programs.fastfetch = let hostname = config.hostSpec.hostName; @@ -16,7 +17,6 @@ enable = true; settings = { logo = { - # Created with Chafa source = builtins.readFile logoFile; type = "data"; position = "left"; @@ -38,63 +38,6 @@ }; separator = ""; }; - # modules = [ - # { - # type = "colors"; - # symbol = "square"; - # } - # "break" - # { - # key = "{#31} ┤ user »{#keys}"; - # type = "title"; - # format = "{user-name}"; - # } - # { - # key = "{#32} ┤ host »{#keys}"; - # type = "title"; - # format = "{host-name}"; - # } - # { - # key = "{#33} ┤ uptime »{#keys}"; - # type = "uptime"; - # } - # { - # key = "{#34} ┤ distro »{#keys}"; - # type = "os"; - # } - # { - # key = "{#36} ┤ desktop »{#keys}"; - # type = "de"; - # } - # { - # key = "{#32} ┤ shell »{#keys}"; - # type = "shell"; - # } - # { - # key = "{#33} ┤ cpu »{#keys}"; - # type = "cpu"; - # showPeCoreCount = true; - # } - # { - # key = "{#34} ┤ disk »{#keys}"; - # type = "disk"; - # folders = "/"; - # } - # { - # key = "{#35} ┤ memory »{#keys}"; - # type = "memory"; - # } - # { - # key = "{#36} ┤ network »{#keys}"; - # type = "localip"; - # format = "{ipv4} ({ifname})"; - # } - # "break" - # { - # type = "colors"; - # symbol = "square"; - # } - # ]; modules = [ "break" { @@ -107,7 +50,7 @@ { key = "weather » {#keys}"; keyColor = "1;97"; - shell = "${pkgs.fish}/bin/fish"; + shell = "${lib.getExe pkgs.fish}"; text = "fish ${weather} 'Richmond'"; type = "command"; } @@ -128,7 +71,7 @@ key = "shell » {#keys}"; keyColor = "1;33"; type = "command"; - shell = "${pkgs.fish}/bin/fish"; + shell = "${lib.getExe pkgs.fish}"; } { key = "uptime » {#keys}";