From d70ccd77c46d744aa2097baad4030f3b419e1e10 Mon Sep 17 00:00:00 2001 From: marc Date: Sat, 2 Nov 2019 10:52:54 +0100 Subject: [PATCH] added external rules for bspwm --- .config/bspwm/external-rules | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .config/bspwm/external-rules 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; +