summaryrefslogtreecommitdiff
path: root/.config/X11
diff options
context:
space:
mode:
Diffstat (limited to '.config/X11')
-rwxr-xr-x.config/X11/clientrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/X11/clientrc b/.config/X11/clientrc
index d18d714..cbcf07a 100755
--- a/.config/X11/clientrc
+++ b/.config/X11/clientrc
@@ -21,5 +21,5 @@ fi
wm=wmii
systemctl --user start "${wm}@${DISPLAY}.service"
mkfifo "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}"
+trap "rm $(printf %q "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}")" EXIT
cat "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" >/dev/null
-rm "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}"