From 861393b07a0e7a2ce9a22ef4e0de74401ef255fd Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Fri, 12 Aug 2022 12:06:13 +0200 Subject: Script to make sxiv start in a floating window. --- floats/sxivFloat.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 floats/sxivFloat.sh (limited to 'floats') 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 "$@" -- cgit v1.2.1