summaryrefslogtreecommitdiff
path: root/bin/dwl
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-10-15 13:29:10 -0400
committerSam Nystrom <sam@samnystrom.dev>2024-10-15 13:29:10 -0400
commit2c98bbacc8db3b251e1679f9da84cf1f5ed5726a (patch)
tree10d44c9b82d275d66d880ff8ec33992cddda12b5 /bin/dwl
parentc8c79e6c6a5c4bb1e0ba44f309ce5ae612f97e1c (diff)
update ~/bin
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"