From 8791765ce556c44caff10aac1db2deff602560dd Mon Sep 17 00:00:00 2001 From: Syahrial Agni Prasetya Date: Sat, 6 Mar 2021 11:54:20 +0700 Subject: [PATCH] Make variables accessible to everyone. --- archbox.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/archbox.bash b/archbox.bash index fea7b0f..20bc920 100644 --- a/archbox.bash +++ b/archbox.bash @@ -16,6 +16,7 @@ asroot(){ storeenv() { echo "# This will be sourced when entering Archbox" > /tmp/archbox_env + chmod 777 /tmp/archbox_env >/dev/null 2>&1 [[ ! -z $WAYLAND_DISPLAY ]] && echo "WAYLAND_DISPLAY=$WAYLAND_DISPLAY" >> /tmp/archbox_env if [[ ! -z $DISPLAY ]]; then hash xhost >/dev/null 2>&1 && xhost +local: > /dev/null