From 23aacc7e231b5f73745a6ef72abbcdecf193790d Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 11 Dec 2024 01:24:34 -0600 Subject: pkgs/tmux-open: implement persistent tmux sessions by i3/sway workspace --- pkgs/tmux-open/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkgs/tmux-open/default.nix (limited to 'pkgs/tmux-open/default.nix') diff --git a/pkgs/tmux-open/default.nix b/pkgs/tmux-open/default.nix new file mode 100644 index 0000000..e2c799c --- /dev/null +++ b/pkgs/tmux-open/default.nix @@ -0,0 +1,11 @@ +{ jq +, substituteAll +, sway +, tmux +, writeShellScriptBin +, ... +}: +writeShellScriptBin "tmux-open" (builtins.readFile (substituteAll { + src = ./tmux-open.sh; + env = { inherit jq sway tmux; }; +})) -- cgit v1.2.3