1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: add scrot-dmenu script

This commit is contained in:
Kierán Meinhardt
2020-05-24 10:08:13 +02:00
parent 9a33c1a106
commit fd36d5279c
3 changed files with 45 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
{ pkgs, lib, ... }:
let
kpaste = pkgs.callPackage <stockholm/krebs/5pkgs/simple/kpaste> {};
wrapScript = { packages ? [], name, script }: pkgs.writers.writeDashBin name ''
PATH=$PATH:${lib.makeBinPath (packages ++ [pkgs.coreutils pkgs.findutils])}
${script} "$@"
@@ -117,6 +118,12 @@ in
packages = [ pkgs.python3 ];
};
scrot-dmenu = wrapScript {
script = ./scrot-dmenu.sh;
name = "dmenu-scrot";
packages = [ pkgs.xclip pkgs.scrot kpaste pkgs.libnotify pkgs.dmenu ];
};
bvg = pkgs.callPackage ./bvg.nix {};
nav = pkgs.callPackage ./nav.nix {};
}