myhome/.local/bin/tmux-display-fix

3 lines
71 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
export DISPLAY="`tmux show-env | sed -n 's/^DISPLAY=//p'`"