migrate to specific folder & add fish conf

This commit is contained in:
grassblock 2024-05-24 16:20:19 +08:00
parent 7c63ae9df9
commit 687a8696e3
45 changed files with 74 additions and 0 deletions

View file

@ -1,52 +0,0 @@
{
lib,
stdenvNoCC,
makeWrapper,
scdoc,
coreutils,
grim,
jq,
libnotify,
slurp,
wl-clipboard,
hyprpicker,
hyprland ? null,
}:
stdenvNoCC.mkDerivation {
pname = "grimblast";
version = "0.1";
src = ./.;
nativeBuildInputs = [
makeWrapper
];
buildInputs = [
scdoc
];
makeFlags = ["PREFIX=$(out)"];
postInstall = ''
wrapProgram $out/bin/grimblast --prefix PATH ':' \
"${lib.makeBinPath ([
coreutils
grim
jq
libnotify
slurp
wl-clipboard
hyprpicker
]
++ lib.optional (hyprland != null) hyprland)}"
'';
meta = with lib; {
description = "A helper for screenshots within Hyprland, based on grimshot";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [misterio77];
mainProgram = "grimblast";
};
}