diff --git a/.config/bspwm/external-rules b/.config/bspwm/external-rules new file mode 100644 index 0000000..0455085 --- /dev/null +++ b/.config/bspwm/external-rules @@ -0,0 +1,12 @@ +#!/bin/sh +wid=$1 +class=$2 +instance=$3 + +case $class in + ('') + case $(ps -p "$(xdo pid $id)" -o comm= 2>/dev/null) in + (qemu-system-x86) echo state=floating;; + esac;; +esac; +