packages: Add hyprland-autorename-workspaces

Note that the behavior of 1.0.0 is different than older versions,
however it doesn't appear to randomly stop working like before.
This commit is contained in:
Donovan Glover 2023-06-05 14:57:01 -04:00
parent de11edb07c
commit 79adca57ef
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 23 additions and 0 deletions

View File

@ -127,6 +127,7 @@
kickoff kickoff
greetd.tuigreet greetd.tuigreet
(pkgs.callPackage ../packages/nwg-dock { }) (pkgs.callPackage ../packages/nwg-dock { })
(pkgs.callPackage ../packages/hyprland-autorename-workspaces { })
]; ];
home-manager.sharedModules = [{ home-manager.sharedModules = [{

View File

@ -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 ];
};
}