Update bspwm map_pre command for new bspc syntax

long-opts
noctuid 9 years ago
parent 8d2559bc04
commit c194780856

@ -241,7 +241,7 @@ wm_autoset_for_all() {
# bspwm will use previous size when floating already # bspwm will use previous size when floating already
if [[ $wm == bspwm ]]; then if [[ $wm == bspwm ]]; then
map_pre() { map_pre() {
bspc rule -a "$1" -o floating=on bspc rule -a "$1" -o state=floating
} }
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