summaryrefslogtreecommitdiff
path: root/wrapper_display
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper_display')
-rwxr-xr-xwrapper_display3
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
24eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"` 27eval `tmux show-env DISPLAY | grep -v "^-DISPLAY"`
25if `ss -o state established sport = :5901 | grep -q "^tcp"`; then 28if `ss -o state established sport = :5901 | grep -q "^tcp"`; then
26 DISPLAY=:1 29 DISPLAY=:1