summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/bashrc
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-23 14:44:11 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-23 14:44:11 -0500
commit1957b894290bcbee8767f6cd11d24927c21cdf9a (patch)
tree0dc0289f5ff2413d01c411d16f9a889cc6e42765 /roles/obs/templates/bashrc
parentcbc5ff7fed4db09e2249a8bb9d308132962a55d7 (diff)
downloademacsconf-ansible-1957b894290bcbee8767f6cd11d24927c21cdf9a.tar.xz
emacsconf-ansible-1957b894290bcbee8767f6cd11d24927c21cdf9a.zip
pad stuff
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