mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-25 12:12:29 +02:00
overlays: Update hyprnome to v0.2.0
The new version auto-closes special workspaces by default when switching workspaces.
This commit is contained in:
parent
e397e85c30
commit
97e727f5a7
@ -2,6 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./alejandra.nix
|
./alejandra.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
|
./hyprnome.nix
|
||||||
./zola.nix
|
./zola.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
31
overlays/hyprnome.nix
Normal file
31
overlays/hyprnome.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
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)
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user