diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-29 00:48:11 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-29 00:48:11 -0500 |
commit | a9935b7a12a522937d91cb44a0e138132b555e16 (patch) | |
tree | 379c9846d85a43c8fdeefcf268e3ea0e10891758 /.config/X11/clientrc | |
parent | 435a7b5e8e590240340232cc1832ead32b87adc6 (diff) |
Re-jigger to use systemd for the process monitor for the window manager
Diffstat (limited to '.config/X11/clientrc')
-rw-r--r-- | .config/X11/clientrc | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/.config/X11/clientrc b/.config/X11/clientrc index 26455d3..d18d714 100644 --- a/.config/X11/clientrc +++ b/.config/X11/clientrc @@ -1,9 +1,7 @@ #!/bin/sh -# -# ~/.xinitrc -# -# Executed by startx (run your window manager from here) +# Load system xinit modules (disabled) +# Remove "false &&" to enable if false && [ -d /etc/X11/xinit/xinitrc.d ]; then echo ' ==> Running scripts in Entering xinitrc.d/*' for f in /etc/X11/xinit/xinitrc.d/*; do @@ -19,8 +17,9 @@ if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi -# exec gnome-session -# exec startkde -# exec startxfce4 -# ...or the Window Manager of your choice -exec wmii +#exec wmii +wm=wmii +systemctl --user start "${wm}@${DISPLAY}.service" +mkfifo "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" +cat "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" >/dev/null +rm "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" |