aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfloats/sxivFloat.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/floats/sxivFloat.sh b/floats/sxivFloat.sh
new file mode 100755
index 0000000..27dbaeb
--- /dev/null
+++ b/floats/sxivFloat.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+pgrep -x bspwm >/dev/null && bspc rule -a Sxiv --one-shot state=floating
+sxiv "$@"