summaryrefslogtreecommitdiff
path: root/.config/X11/clientrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/X11/clientrc')
-rwxr-xr-x.config/X11/clientrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/X11/clientrc b/.config/X11/clientrc
index 4773ea4..2c965da 100755
--- a/.config/X11/clientrc
+++ b/.config/X11/clientrc
@@ -17,6 +17,7 @@ if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
+[ -n "$XDG_RUNTIME_DIR" ] || exit 1
trap "rm -f $(printf '%q' "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}")" EXIT
mkfifo "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}"