From 280e1bbe5e733128a451260685cc8ecd10a042a3 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 17 Oct 2026 21:53:43 +1300 Subject: feat: Dendritic pattern This re-write was done with the help of claude, and still needs a decent amount of changes before it properly follows the dendritic pattern --- modules/home-manager/i3/i3-commands.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 modules/home-manager/i3/i3-commands.nix (limited to 'modules/home-manager/i3/i3-commands.nix') diff --git a/modules/home-manager/i3/i3-commands.nix b/modules/home-manager/i3/i3-commands.nix new file mode 100644 index 0000000..d3df9a4 --- /dev/null +++ b/modules/home-manager/i3/i3-commands.nix @@ -0,0 +1,28 @@ +{ + perSystem = + { pkgs, ... }: + { + packages.i3-commands = pkgs.callPackage ( + { + 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 + ''; + } + ) { }; + }; +} -- cgit v1.3.1