diff options
Diffstat (limited to '.config/X11/clientrc')
-rwxr-xr-x | .config/X11/clientrc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/X11/clientrc b/.config/X11/clientrc index 9488ec8..4773ea4 100755 --- a/.config/X11/clientrc +++ b/.config/X11/clientrc @@ -17,9 +17,9 @@ if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi -#exec wmii -wm=wmii +trap "rm -f $(printf '%q' "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}")" EXIT mkfifo "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" -trap "rm $(printf %q "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}")" EXIT -systemctl --user start "${wm}@${DISPLAY}.service" -cat "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" >/dev/null + +cat "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" & +systemctl --user start "wm@${DISPLAY}.target" & +wait |