diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-02-04 15:13:00 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-02-04 15:16:22 -0500 |
commit | 7fa8100ee556f0c94adfb91a240001ce86104c48 (patch) | |
tree | 33e6e332b812b8cae5df590a60a90de34c2c9503 /.config/X11/clientrc | |
parent | a41c113539cab32ccf697219ef024735bc6fd866 (diff) |
systemd: Add and use wm@$DISPLAY.target
wm@.target to change the default window manager. Create wm@$DISPLAY to
override for a particular display
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 |