aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJopStro <[email protected]>2020-09-11 20:47:52 +0100
committerGitHub <[email protected]>2020-09-11 20:47:52 +0100
commit239d5ece0514ec5ad40a3ab0fbd088300a92497b (patch)
tree9ce2b54f9a415137f286ba0fd80f024ff26ac906
parente0e4a6e1bb82a90e2d9dc31294d7fec621aacecc (diff)
Create 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 &