diff --git a/modules/default.nix b/modules/default.nix index 455ac82..95c8062 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -127,6 +127,7 @@ kickoff greetd.tuigreet (pkgs.callPackage ../packages/nwg-dock { }) + (pkgs.callPackage ../packages/hyprland-autorename-workspaces { }) ]; home-manager.sharedModules = [{ diff --git a/packages/hyprland-autorename-workspaces/default.nix b/packages/hyprland-autorename-workspaces/default.nix new file mode 100644 index 0000000..361b306 --- /dev/null +++ b/packages/hyprland-autorename-workspaces/default.nix @@ -0,0 +1,22 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "hyprland-autoname-workspaces"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "hyprland-community"; + repo = pname; + rev = version; + sha256 = "sha256-+oJWPSN6VmUUpd5ZLrN5Sa9Yg6pqVlaQFSRnEkLpLt8="; + }; + + cargoSha256 = "sha256-wXQVcTQ6up34ZqJP5hDttFEqtz+hmyd1aWFnPlFvazA="; + + meta = with lib; { + description = "Automatically rename the workspaces with icons of started applications"; + homepage = "https://github.com/hyprland-community/hyprland-autoname-workspaces"; + license = licenses.isc; + maintainers = with maintainers; [ donovanglover ]; + }; +}