Add bspwm external rules, make emacs question window floating

This commit is contained in:
Riyyi
2020-08-28 17:23:53 +02:00
parent 381c8ddc62
commit 2d002ad89c
2 changed files with 19 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#! /bin/sh
WID=$1
CLASS=$2
INSTANCE=$3
CONSEQUENCES=$4
name() {
xprop -id "$WID" WM_NAME | sed 's/"//g;s/.*= //'
}
case "$CLASS" in
Emacs)
[ "$(name)" = "Question" ] && echo "state=floating"
exit
;;
esac