Web Analytics

dwm.tmux

⭐ 187 stars English by saysjonathan

dwm.tmux === dwm-inspired tiling pane and window manager for Tmux.

Dependencies

dwm.tmux requires tmux >= 3.2.

Installation

Via TPM (recommended)

Add to ~/.tmux.conf:

set -g @plugin 'saysjonathan/dwm.tmux'

Reload and run prefix-I to fetch.

Manual install (legacy)

To install, use the provided Makefile:

git clone https://github.com/saysjonathan/dwm.tmux.git
cd dwm.tmux
make

By default dwm.tmux uses /usr/local as its prefix. To change the prefix:

make PREFIX=$HOME

Ensure that $PREFIX/bin is in your PATH.

To use, source the dwm.tmux tmux config:

echo 'source-file /usr/local/lib/dwm.tmux' >> $HOME/.tmux.conf

Usage

dwm.tmux defines the following command aliases, each with a default keybinding:

Additional keybindings for window cycling are also included: Also defined are global options to tweak behavior:

Customizations

Keybindings and default values can be set in a configuration file. When using TPM, these must be set after the run '~/.tmux/plugins/tpm/tpm' line in ~/.tmux.conf.

Examples:

setenv -g killlast 1 # kill pane even if it's the last
set-option -wg @mfact 60
set-option -wg @pfact 4
bind -n M-q killpane
bind -n M-w newpanecurdir

Details

Similar to dwm, windows are always organized as follows:

 ====================================
|                 |        S1        |
|                 |==================
|      M(0)       |        S2        |
|                 |==================
|                 |        S3        |
 ====================================
A large Main pane is placed on the left side of the screen while a stack of smaller panes is placed on the right. The Main pane is always pane 0, while the stack of panes is numbered sequentially in ascending order.

--- Tranlated By Open Ai Tx | Last indexed: 2026-07-03 ---