I would like to do the following: - Start work day, type a command to create a tmux session which would create x windows, dropping me specifically in directories that I specify in some config file - I would like to have scripts that are run for four scenarios a) on creation of the tmux session, re-attach to the tmux session, detatch from tmux session, destroy tmux session.

Or is there a better tool for this?

Use-case is basically I want to stop all work-related resources at end of work day including docker containers, but restart them the following day. Ideally it would be as simple as tmux a -t work to get started again which would start necessary docker containers from a bunch of directories, and then tmux detach would kill the containers

tmuxinator

https://github.com/tmuxinator/tmuxinator

There are other solutions but I used this one for a while and liked it. Then stopped doing as much development at home (work is Windows) and haven't used it in a while. It's easy(ish) to create different configs for different needs. I basically had a Common Lisp IDE or a C++ IDE or whatever set of things I commonly used.