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