From 1957b894290bcbee8767f6cd11d24927c21cdf9a Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 23 Nov 2022 14:44:11 -0500 Subject: pad stuff --- roles/obs/templates/bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/obs/templates/bashrc') diff --git a/roles/obs/templates/bashrc b/roles/obs/templates/bashrc index 0eda190..6312d26 100644 --- a/roles/obs/templates/bashrc +++ b/roles/obs/templates/bashrc @@ -122,3 +122,6 @@ alias mum-vol="pactl set-sink-volume {{ item.id }}-mumble " export TZ={{ emacsconf_timezone }} export PATH=$PATH:$HOME/bin export DISPLAY=${DISPLAY:-:{{ item.vnc_id }}} +if [ "x$DISP" != "x" ]; then + export DISPLAY={{ item.vnc_id }} +fi -- cgit v1.2.3