mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 19:46:17 +01:00
a5a651dbb9
Signed-off-by: main <magic_rb@redalder.org>
22 lines
493 B
Nix
22 lines
493 B
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{
|
|
name = "screenshot";
|
|
overlays = ["nixng"];
|
|
overlay = {}: final: prev: {
|
|
magic_rb =
|
|
prev.magic_rb
|
|
or {}
|
|
// {
|
|
screenshot = final.writeSubstitutedShellScriptBin {
|
|
name = "screenshot";
|
|
file = ./screenshot;
|
|
substitutes = with prev; {
|
|
inherit busybox scrot xclip;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|