summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/bashrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/obs/templates/bashrc3
1 files changed, 3 insertions, 0 deletions
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