summaryrefslogtreecommitdiff
path: root/pkgs/tmux-open/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tmux-open/default.nix')
-rw-r--r--pkgs/tmux-open/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/tmux-open/default.nix b/pkgs/tmux-open/default.nix
new file mode 100644
index 0000000..1f882b4
--- /dev/null
+++ b/pkgs/tmux-open/default.nix
@@ -0,0 +1,12 @@
+{
+ jq,
+ substituteAll,
+ sway,
+ tmux,
+ writeShellScriptBin,
+ ...
+}:
+writeShellScriptBin "tmux-open" (builtins.readFile (substituteAll {
+ src = ./tmux-open.sh;
+ env = {inherit jq sway tmux;};
+}))