more tmux workflow
Thanks to Eric McKevitt of YT’s video on Tmux Popups I’m now aware of three tmux things I had never used:
- popups (floating windows)
- menus (like dmenu)
- messages (rapid notifications)
Tmux Popups
Pop ups
- in tmux: popup [command]
- in cli: tmux display-popup [command]
This pops up a terminal in the center of the current window that takes focus and can be dismissed by pressing the escape key. When given a command, that command is run in the terminal. If the command exits, the popup stays open until it’s dismissed with the scape key.
One downside: The prefix key is ignored, along with all the repercussions of that, I’m not sure how to enter copy-mode should something need to be copied.
The pop ups seem kind of counter-productive since the whole point of tmux is to do tiling, but it makes sense to pop up a task that needs to be dealt with in the context of the current window. However, the window is dismissed when the escape key is pressed, so it should probably be used for unimportant things and not some attention grabbing thing that needs to be dealt with right away (IE the main purpose of modal windows.) Often I shove a pane off to the side for this sort of task and then I forget that I was waiting for that particular thing to finish. So maybe I’ll use this instead. It seem to ignore the prefix key, so I might not be able to just break-pane to shove it elsewhere.
- in tmux menu name key command [name key command ...]
- in cli: tmux display-menu name key command [name key command ...]
For menus, I make use of bemenu to do menus in the terminal or in sway or X11, but most of the time I just use the terminal flavor ones. And lately I’ve wanted a little tighter integration with tmux for some note-related or workspace-related ideas I’ve had. So I’ll likely start using this to replace bemenu because it means the scripts I call wont have to do the work of finding a tmux session to inject their results into. It will make things easier.
Messages
And for messages, I see no point with the default being so fast. They disappear almost immediately and I never customized those aspects of the color scheme, so they’re also hard to read.
Tags: bemenu, tmux, cli
#bemenu
#tmux
#cli
Navigation
index
tags
created: 2026-03-07
(re)generated: 2026-05-22
page source