aboutsummaryrefslogtreecommitdiff
path: root/examples/scripts/noswallow_open
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scripts/noswallow_open')
-rw-r--r--examples/scripts/noswallow_open7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/scripts/noswallow_open b/examples/scripts/noswallow_open
new file mode 100644
index 0000000..4521b11
--- /dev/null
+++ b/examples/scripts/noswallow_open
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Prefix to a command to make it so that any windows spawned from it don't swallow the terminal
+# for launching things from sxhd etc
+killall bspswallow
+eval "$1" >/dev/null
+sleep 2
+bspswallow &