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:
parent
01d825e4d7
commit
8cc4f4e0ac
4 changed files with 113 additions and 157 deletions
19
flake.nix
19
flake.nix
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue