This is a collection of dotfiles and scripts for my bspwm setup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
215 B

#! /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