aboutsummaryrefslogtreecommitdiff
path: root/home-manager/i3/i3-commands.nix
blob: 68cf7b62f69b5ea29232ec22e6e225862c22ba72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    stdenv,
    lib
}:
stdenv.mkDerivation {
    pname = "i3-commands";
    version = "0.0.1";

    srcs = lib.cleanSourceWith {
        src = ./scripts;
        filter = path: type: baseNameOf path != "rofi-passmenu";
    };
    
    installPhase = ''
        runHook preInstall
        mkdir -p $out/bin
        install -D -m 755 ./* $out/bin
        runHook postInstall
    '';
}