summaryrefslogtreecommitdiff
path: root/bin/dwl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dwl')
-rwxr-xr-xbin/dwl4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/dwl b/bin/dwl
new file mode 100755
index 0000000..b169367
--- /dev/null
+++ b/bin/dwl
@@ -0,0 +1,4 @@
+#!/bin/execlineb -P
+if { rm -f ${XDG_RUNTIME_DIR}/dwl-stdout }
+if { mkfifo ${XDG_RUNTIME_DIR}/dwl-stdout }
+/usr/local/bin/dwl -s "superd & cat > \"$XDG_RUNTIME_DIR\"/dwl-stdout"