dotfiles/overlays/magic-screenshot/default.nix

14 lines
341 B
Nix
Raw Normal View History

{ inputs, ... }:
{
flake.overlays.magic-screenshot =
final: prev: {
magic-screenshot = (final.writeSubstitutedShellScriptBin {
name = "screenshot";
file = ./screenshot;
substitutes = with prev; {
inherit busybox scrot xclip;
};
}) // { meta.mainProgram = "screenshot"; };
};
}