Merge pull request #236515 from donovanglover/hyprland-autoname-workspaces

This commit is contained in:
Janik 2023-08-07 17:51:02 +02:00 committed by GitHub
commit 7a1ae91492
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "hyprland-autoname-workspaces";
version = "1.1.7";
src = fetchFromGitHub {
owner = "hyprland-community";
repo = "hyprland-autoname-workspaces";
rev = "v${version}";
hash = "sha256-OtKPJZI0YKi98HUY4IDU8LRg6dTaD68OgVi9FzfjDbA=";
};
cargoHash = "sha256-ueT85rKa2PGvp/R/ZXkDGUFIXyYNpDErg4W8WcXAPIw=";
meta = with lib; {
description = "Automatically rename workspaces with icons of started applications";
homepage = "https://github.com/hyprland-community/hyprland-autoname-workspaces";
license = licenses.isc;
maintainers = with maintainers; [ donovanglover ];
mainProgram = "hyprland-autoname-workspaces";
platforms = platforms.linux;
};
}

View file

@ -5544,6 +5544,8 @@ with pkgs;
udis86 = pkgs.callPackage ../applications/window-managers/hyprwm/hyprland/udis86.nix { };
};
hyprland-autoname-workspaces = callPackage ../applications/misc/hyprland-autoname-workspaces { };
hyprland-per-window-layout = callPackage ../tools/wayland/hyprland-per-window-layout { };
hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { };