feat(refactor): refactored code

the code from earlier was a class ridden sloppy mess with a bug in one part.

i have refactored it to only contain one class full of the data needed, and added some personal changes which i think are nice!
This commit is contained in:
Artur Manuel 2024-08-05 02:53:32 +01:00
commit 8cc4f4e0ac
Failed to generate hash of commit
4 changed files with 113 additions and 157 deletions

View file

@ -29,21 +29,14 @@
#
# Use this shell for developing your app.
devShells.default = pkgs.mkShell {
inputsFrom = [ self.packages.${system}.whyfetch ];
inputsFrom = [
self.packages.${system}.whyfetch
pkgs.pyright
pkgs.black
pkgs.isort
];
};
apps = {
whyfetch = {
program = "${self.packages.${system}.whyfetch}/bin/whyfetch";
type = "app";
};
default = {
program = "${self.packages.${system}.default}/bin/whyfetch";
type = "app";
};
};
# Shell for poetry.
#
# nix develop .#poetry