From 7fa8100ee556f0c94adfb91a240001ce86104c48 Mon Sep 17 00:00:00 2001
From: Luke Shumaker <lukeshu@sbcglobal.net>
Date: Wed, 4 Feb 2015 15:13:00 -0500
Subject: systemd: Add and use wm@$DISPLAY.target

wm@.target to change the default window manager. Create wm@$DISPLAY to
override for a particular display
---
 .config/wmii-hg/wmiirc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to '.config/wmii-hg/wmiirc')

diff --git a/.config/wmii-hg/wmiirc b/.config/wmii-hg/wmiirc
index 396bed2..6fd348f 100755
--- a/.config/wmii-hg/wmiirc
+++ b/.config/wmii-hg/wmiirc
@@ -12,6 +12,10 @@ fi
 wmiir xwrite /event WmiircQuit # close any existing wmiirc's
 
 Event WmiircStart
+# Notify systemd that we're ready
+if [ -S "$NOTIFY_SOCKET" ]; then
+	echo READY=1 | socat STDIO UNIX-SENDTO:"$NOTIFY_SOCKET"
+fi
 
 trap "Event Quit" EXIT
 
-- 
cgit v1.2.3-2-g168b