diff options
Diffstat (limited to 'wrapper_display')
-rwxr-xr-x | wrapper_display | 2 |
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 | ||
27 | eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` | 27 | eval `tmux show-env DISPLAY 2>/dev/null | grep -v "^-DISPLAY"` |
28 | if `ss -o state established sport = :5901 | grep -q "^tcp"`; then | 28 | if `ss -o state established sport = :5901 | grep -q "^tcp"`; then |
29 | DISPLAY=:1 | 29 | DISPLAY=:1 |
30 | fi | 30 | fi |