summaryrefslogtreecommitdiff
path: root/wrapper_display
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper_display')
-rwxr-xr-xwrapper_display2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapper_display b/wrapper_display
index 0146d3a..2482d96 100755
--- a/wrapper_display
+++ b/wrapper_display
@@ -24,7 +24,7 @@
24 24
25# Feel like tipping/donating? https://www.immae.eu/licenses_and_tipping 25# Feel like tipping/donating? https://www.immae.eu/licenses_and_tipping
26 26
27eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` 27eval `tmux show-env DISPLAY 2>/dev/null | grep -v "^-DISPLAY"`
28if `ss -o state established sport = :5901 | grep -q "^tcp"`; then 28if `ss -o state established sport = :5901 | grep -q "^tcp"`; then
29 DISPLAY=:1 29 DISPLAY=:1
30fi 30fi