aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xs2u.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/s2u.sh b/s2u.sh
index cf2b1c6..c0e08d7 100755
--- a/s2u.sh
+++ b/s2u.sh
@@ -11,11 +11,11 @@
# attache itself to.
#---------------------------------------------------------------
+CURR_DISPLAY=`LC_ALL=C xdpyinfo | grep 'display' | awk '{print $4}'`
+
f="/tmp/dbus-$USER-xsession$CURR_DISPLAY"
vars() {
- CURR_DISPLAY=`LC_ALL=C xdpyinfo | grep 'display' | awk '{print $4}'`
-
if [ -f "$f" -a -O "$f" ]; then
. "$f"
fi