Maintain compatability with old bspc rule syntax

long-opts
noctuid 9 years ago
parent c194780856
commit e547e6fcd6

@ -242,6 +242,8 @@ wm_autoset_for_all() {
if [[ $wm == bspwm ]]; then if [[ $wm == bspwm ]]; then
map_pre() { map_pre() {
bspc rule -a "$1" -o state=floating bspc rule -a "$1" -o state=floating
# maintain compatability with old syntax
bspc rule -a "$1" -o floating=on
} }
elif [[ $wm == awesome ]]; then elif [[ $wm == awesome ]]; then
# awesome remembers size, but need to float and then set size first # awesome remembers size, but need to float and then set size first

Loading…
Cancel
Save