mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-25 07:08:38 +01:00
97e727f5a7
The new version auto-closes special workspaces by default when switching workspaces.
32 lines
908 B
Nix
32 lines
908 B
Nix
{
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
hyprnome = prev.hyprnome.overrideAttrs (oldAttrs: rec {
|
|
version = "0.2.0";
|
|
|
|
src = prev.fetchFromGitHub {
|
|
owner = "donovanglover";
|
|
repo = "hyprnome";
|
|
rev = version;
|
|
hash = "sha256-zlXiT2EOIdgIDI4NQuU3C903SSq5bylBAFJXyv7mdJ4=";
|
|
};
|
|
|
|
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
|
|
name = "hyprnome-vendor.tar.gz";
|
|
inherit src;
|
|
outputHash = "sha256-HNKjEwryfado8kDsdt6BRMQU/uPqytRztJANw4Mnw/Y=";
|
|
});
|
|
|
|
postInstall = ''
|
|
installManPage target/man/hyprnome.1
|
|
|
|
installShellCompletion --cmd hyprnome \
|
|
--bash <(cat target/completions/hyprnome.bash) \
|
|
--fish <(cat target/completions/hyprnome.fish) \
|
|
--zsh <(cat target/completions/_hyprnome)
|
|
'';
|
|
});
|
|
})
|
|
];
|
|
}
|