5 comments

  • 0xcb05 hours ago
    Hi there, nice idea and thanks for sharing.<p>I was just wondering what is the additional value over just using, tmux and pre-stored pane configurations. From the screenshot in the GitHub repository, I don&#x27;t see any additional value for me. Will this allow, like, floating panes?<p>I&#x27;m just using tmux with some custom key configurations and with what tmux offers out of the box I&#x27;m pretty happy.
    • saysjonathan1 hour ago
      For me, personally, the value was in have something similar to a window manager for the terminal. As I was constantly spawning, killing, and reorganizing panes, a tiling-based approach gave me more control over my terminal and allowed me to perform complex operations without having to memorize or execute multiple commands. My use of a terminal is not static and therefore having a more dynamic option made my life easier.<p>This is really just a personal project that I wanted to share in case others might like to try it.<p>I will add that, especially at the time of creation, I was heavily in the &#x27;unix is my IDE&#x27; camp. A terminal window manager was a logical next step to that notion. As someone called out below, I even used `ed` as my main editor for a while (which was as bad as it sounds).
  • zeech5 hours ago
    Very cool project! When I was regularly using a multiplexer on my personal machines, I did something similar with `abduco` [0] for session management and `dvtm` [1] for the actual multiplexing.<p>[0] <a href="https:&#x2F;&#x2F;www.brain-dump.org&#x2F;projects&#x2F;abduco&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.brain-dump.org&#x2F;projects&#x2F;abduco&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;martanne&#x2F;dvtm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;martanne&#x2F;dvtm</a>
    • qudat4 hours ago
      Nice! Big fan of abduco. I wrote a similar tool but use libghostty for rehydrating the terminal session: <a href="https:&#x2F;&#x2F;zmx.sh" rel="nofollow">https:&#x2F;&#x2F;zmx.sh</a><p>Works pretty well if you don’t need a window manager in your terminal
  • qmacro5 hours ago
    This looks intriguing and I&#x27;m definitely going to try it out. The clincher? Seeing the possibly gratuitous but ultimately wonderful use of ed in pane 0 in the screenshot.
    • saysjonathan1 hour ago
      I went a little too far into &#x27;unix as my IDE&#x27;.<p>Do I regret using `ed` as my primary editor? No.<p>Do I still use `ed` as my primary editor? Absolutely not.
  • kalterdev4 hours ago
    Although I don&#x27;t use dwm and tmux anymore, tmux keyboard control is nasty and some uniformity is always a good idea.
    • zhouzhao4 hours ago
      Most of the fun of using tmux was configuring it yourself anyway ;)
  • zhouzhao4 hours ago
    Interessting. When I read the title first I was like: &quot;What?&quot;<p>Well, checking out the code, it seems to be tmux functions. Well, some of them are quite intriguing! I never bothered to figure out how to spawn a new pane in the same dir. Consider that fuction stolen ;)<p>I would have advertised it diffetently though. Something like &quot;DWM inspired tmux config&quot;.<p>As other have mentioned, I don&#x27;t sse why I should use &quot;dwm.tmux&quot; over just the tmux defaults, or my own home grown (stolen) config.<p>Non the less, quite interesting code!
    • saysjonathan1 hour ago
      Through this project I realized that there&#x27;s just some limitations to a plain tmux config. I eventually had to switch over to calling out to shell in order to get around those issues.<p>Commit with the switch to shell here: <a href="https:&#x2F;&#x2F;github.com&#x2F;saysjonathan&#x2F;dwm.tmux&#x2F;commit&#x2F;c8752b9783909323091c755a017ad9e6f0f69cfc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;saysjonathan&#x2F;dwm.tmux&#x2F;commit&#x2F;c8752b978390...</a><p>I think there&#x27;s a lot of potential to scripting terminal multiplexers in various ways and I would love to see more work exploring what&#x27;s possible!