Readit News logoReadit News
saysjonathan commented on Show HN: Dwm.tmux – a dwm-inspired window manager for tmux   github.com/saysjonathan/d... · Posted by u/saysjonathan
ghshephard · 14 days ago
I'm intrigued - as tmux has been my window manager for my desktop for 10+ years now ( I typically have 80-100 different windows/panes in play by the end of any given week, where I take time to close down all sessions that aren't still in progress).

I'm wondering what the difference is between this and just tmux basic environment - which already has a lot of pane / window management. What's the key distinction between using tmux and dwm.tmux?

<5 minutes later> - Ah - this is just tmux with some custom config. The window manager is tmux - I would suggest changing the title a bit - maybe something like, "DWM.TMUX - dwm inspired tmux configs. "

<Further review - note the "10 years ago" timestamp - ahh.. This has been gestating for a while>

saysjonathan · 13 days ago
It's not just configs though, as there is some logic implemented via shell that could not be handled entirely in configs. "Window Manager" was chosen as it the logic imposes a specific layout without necessarily preventing you from using other configuration options. It's almost solely layout management and keyboard shortcuts to assist.
saysjonathan commented on Show HN: Dwm.tmux – a dwm-inspired window manager for tmux   github.com/saysjonathan/d... · Posted by u/saysjonathan
ghshephard · 14 days ago
For Floating Panes - see: https://github.com/lloydbond/tmux-floating-terminal/tree/mas... (if it doesn't work for you on first try - check - https://github.com/lloydbond/tmux-floating-terminal/pull/6)

Love Floating Panes in Tmux - and best part - all the other plugins - resurrect, continuum, etc..) all support floating panes out of the box.

saysjonathan · 13 days ago
This does have a single floating pane shortcut (in the current directory), using the tmux `display-popup` command.
saysjonathan commented on Show HN: Dwm.tmux – a dwm-inspired window manager for tmux   github.com/saysjonathan/d... · Posted by u/saysjonathan
ghshephard · 14 days ago
I'm intrigued - as tmux has been my window manager for my desktop for 10+ years now ( I typically have 80-100 different windows/panes in play by the end of any given week, where I take time to close down all sessions that aren't still in progress).

I'm wondering what the difference is between this and just tmux basic environment - which already has a lot of pane / window management. What's the key distinction between using tmux and dwm.tmux?

<5 minutes later> - Ah - this is just tmux with some custom config. The window manager is tmux - I would suggest changing the title a bit - maybe something like, "DWM.TMUX - dwm inspired tmux configs. "

<Further review - note the "10 years ago" timestamp - ahh.. This has been gestating for a while>

saysjonathan · 13 days ago
I think the key distinction is the consistent layout (main pane + stack) along with keyboard shortcuts to manage. To me it's similar to running vanilla X{11,org} vs using a window manager (hence the name). A vanilla configuration will work just fine but sometimes a constrained or opinionated environment gets more out of your way and better fits your preferred workflow.

If you already have a robust tmux workflow with a desired layout (or lack of layout) and custom keyboard shortcuts then this may not work for you. It's just one way to manage panes/windows in tmux that I hadn't seen before and different from the usual ad hoc methods.

Like most window managers, I think it's all preference. What're your current preferences for pane layout, window management, etc? Do you always create/layout panes in the same way or is it situationally dependent?

saysjonathan commented on Show HN: Dwm.tmux – a dwm-inspired window manager for tmux   github.com/saysjonathan/d... · Posted by u/saysjonathan
qmacro · 14 days ago
This looks intriguing and I'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.
saysjonathan · 14 days ago
I went a little too far into 'unix as my IDE'.

Do I regret using `ed` as my primary editor? No.

Do I still use `ed` as my primary editor? Absolutely not.

saysjonathan commented on Show HN: Dwm.tmux – a dwm-inspired window manager for tmux   github.com/saysjonathan/d... · Posted by u/saysjonathan
zhouzhao · 14 days ago
Interessting. When I read the title first I was like: "What?"

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 ;)

I would have advertised it diffetently though. Something like "DWM inspired tmux config".

As other have mentioned, I don't sse why I should use "dwm.tmux" over just the tmux defaults, or my own home grown (stolen) config.

Non the less, quite interesting code!

saysjonathan · 14 days ago
Through this project I realized that there'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.

Commit with the switch to shell here: https://github.com/saysjonathan/dwm.tmux/commit/c8752b978390...

I think there's a lot of potential to scripting terminal multiplexers in various ways and I would love to see more work exploring what's possible!

saysjonathan commented on Show HN: Dwm.tmux – a dwm-inspired window manager for tmux   github.com/saysjonathan/d... · Posted by u/saysjonathan
0xcb0 · 14 days ago
Hi there, nice idea and thanks for sharing.

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't see any additional value for me. Will this allow, like, floating panes?

I'm just using tmux with some custom key configurations and with what tmux offers out of the box I'm pretty happy.

saysjonathan · 14 days 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.

This is really just a personal project that I wanted to share in case others might like to try it.

I will add that, especially at the time of creation, I was heavily in the 'unix is my IDE' 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).

saysjonathan commented on Dole Kemp 96 Web Site   dolekemp96.org/main.htm... · Posted by u/DamnInteresting
eschulz · 14 days ago
Here's the page you were looking for: https://www.dolekemp96.org/about/cookies/cookies.html
saysjonathan · 14 days ago
As weight and baker's percentage instead of volume:

227g (94.58%) margarine

30g (12.5%) sugar, powdered

240g (100%) flour

5g (2.1%) vanilla (assuming liquid extract)

15g (6.25%) water

200g (83.33%) pecans, pieces

saysjonathan commented on Defiant loyalists paid dearly for choosing wrong side in the American Revolution   smithsonianmag.com/histor... · Posted by u/bookofjoe
saysjonathan · 8 months ago
Now I want to see 'Tories' used derisively in modern American politics.

u/saysjonathan

KarmaCake day94August 29, 2013View Original