dots/pkgs/screen-cap/default.nix

18 lines
279 B
Nix

{ pkgs }:
pkgs.writeShellApplication {
name = "screen-cap";
runtimeInputs = with pkgs; [
wl-screenrec
gifski
inotify-tools
libnotify
mktemp
slurp
file
];
text = ''
#!${pkgs.bash}/bin/bash
${builtins.readFile ./screen-cap.bash}
'';
}