diff --git a/home-manager/fetch.nix b/home-manager/fetch.nix index cd00af3..e201e9e 100644 --- a/home-manager/fetch.nix +++ b/home-manager/fetch.nix @@ -10,4 +10,36 @@ }; }; }; + programs.fastfetch = { + enable = true; + settings = { + logo = { + type = "kitty-direct"; + source = ../resources/fetch.png; + width = 31; + height = 15; + padding = { + top = 1; + left = 2; + right = 0; + }; + }; + modules = [ + "break" + "title" + "break" + { type = "host"; format = "{3}"; } + { type = "os"; format = "{2}"; } + "de" + "shell" + "kernel" + { type = "cpu"; format = "{1}"; } + { type = "gpu"; format = "{1} {2}"; } + { type = "terminal"; format = "{5}"; } + "terminalfont" + "break" + "colors" + ]; + }; + }; } diff --git a/home-manager/shell.nix b/home-manager/shell.nix index 64d16b1..4ebebba 100644 --- a/home-manager/shell.nix +++ b/home-manager/shell.nix @@ -29,6 +29,7 @@ setopt autocd setopt noautomenu setopt nomenucomplete + setopt TRANSIENT_RPROMPT run() { pkg="$1" diff --git a/resources/fetch.png b/resources/fetch.png new file mode 100644 index 0000000..f41625e Binary files /dev/null and b/resources/fetch.png differ