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:
@@ -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 {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user