diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-10-04 15:19:36 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-10-04 15:19:36 -0400 |
commit | c4205b0e431d32d9ba1da68c747b328e6225d88e (patch) | |
tree | 48985cd019ca35da5dd39e52859853077257e0be /.config/X11/clientrc | |
parent | 28ebcc50a2be9f88b8015a4551bad26681c632f1 (diff) | |
parent | 795875623f9a9cd35374d2f0531182a267e81588 (diff) |
Merge remote-tracking branch 'origin/master' into gluglugt60-par/master
# Conflicts:
# .config/bash/rc.d/90_emacs.sh
# .config/emacs/init.el
Diffstat (limited to '.config/X11/clientrc')
-rw-r--r-- | .config/X11/clientrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/X11/clientrc b/.config/X11/clientrc index ac0d5a8..bc68ed6 100644 --- a/.config/X11/clientrc +++ b/.config/X11/clientrc @@ -17,7 +17,10 @@ if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi -[ -n "$XDG_RUNTIME_DIR" ] || exit 1 +if [ -z "$XDG_RUNTIME_DIR" ]; then + printf "XDG_RUNTIME_DIR isn't set\n" >&2 + exit 6 +fi _DISPLAY="$(systemd-escape -- "$DISPLAY")" trap "rm -f $(printf '%q' "${XDG_RUNTIME_DIR}/x11-wm@${_DISPLAY}")" EXIT mkfifo "${XDG_RUNTIME_DIR}/x11-wm@${_DISPLAY}" |