mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
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:
parent
de11edb07c
commit
79adca57ef
@ -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 = [{
|
||||||
|
22
packages/hyprland-autorename-workspaces/default.nix
Normal file
22
packages/hyprland-autorename-workspaces/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user