aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-08-12 12:06:13 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-08-12 12:06:13 +0200
commit861393b07a0e7a2ce9a22ef4e0de74401ef255fd (patch)
treedecc3e38bab2206bcd5dcfeb97f6890789286620
parent00a415d37872e751e3d935da7512126e3e8797f1 (diff)
downloadscripts-861393b07a0e7a2ce9a22ef4e0de74401ef255fd.tar.gz
scripts-861393b07a0e7a2ce9a22ef4e0de74401ef255fd.zip
Script to make sxiv start in a floating window.
-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 "$@"