2 lib, stdenv, makeWrapper, fetchFromGitHub, writeShellScriptBin,
3 imagemagick, i3lock-color, xdpyinfo, xrandr, bc, feh, procps, xrdb, xset,
4 gnused, gnugrep, coreutils
7 i3lock = writeShellScriptBin "i3lock" ''
8 ${i3lock-color}/bin/i3lock-color "$@"
10 binPath = lib.makeBinPath [
14 gnused gnugrep coreutils
17 stdenv.mkDerivation rec {
18 pname = "multilockscreen";
21 src = fetchFromGitHub {
22 owner = "jeffmhubbard";
25 sha256 = "1bfpbazvhaz9x356nsghz0czysh9b75g79cd9s35v0x0rrzdr9qj";
28 nativeBuildInputs = [ makeWrapper ];
32 cp multilockscreen $out/bin/multilockscreen
33 wrapProgram "$out/bin/multilockscreen" --prefix PATH : "${binPath}"
37 description = "Wrapper script for i3lock-color";
39 multilockscreen is a wrapper script for i3lock-color.
40 It allows you to cache background images for i3lock-color with a variety of different effects and adds a stylish indicator.
42 homepage = "https://github.com/jeffmhubbard/multilockscreen";
43 license = licenses.mit;
44 platforms = platforms.linux;
45 maintainers = with maintainers; [ kylesferrazza ];