#!/bin/sh ## some layouts to order the windows ## . /tmp/wms_var FLAG=$1 # root window id. RID=$(lsw -r) # focused window. FW=$(pfw) # count maped windows. CMW=$(lsw | wc -l) # root width. RW=$(wattr w $RID) # root height. RH=$(wattr h $RID) # usable screen width. SW=$((RW - 2 * BW)) # usable screen height. SH=$((RH - 2 * BW)) usage() { cat<