diff options
Diffstat (limited to 'wrapper_display')
-rwxr-xr-x | wrapper_display | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wrapper_display b/wrapper_display index 6b30447..0146d3a 100755 --- a/wrapper_display +++ b/wrapper_display | |||
@@ -21,6 +21,9 @@ | |||
21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
22 | # THE SOFTWARE. | 22 | # THE SOFTWARE. |
23 | 23 | ||
24 | |||
25 | # Feel like tipping/donating? https://www.immae.eu/licenses_and_tipping | ||
26 | |||
24 | eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` | 27 | eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` |
25 | if `ss -o state established sport = :5901 | grep -q "^tcp"`; then | 28 | if `ss -o state established sport = :5901 | grep -q "^tcp"`; then |
26 | DISPLAY=:1 | 29 | DISPLAY=:1 |