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

3 lines
71 B
Bash
Executable File

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