#!/bin/sh ## move and resize windows ## . /tmp/wms_var FLAG=$1 # flag FW=$(pfw) # focused window id RID=$(lsw -r) # root window id RW=$(wattr w $RID) # root window width RH=$(wattr h $RID) # root window heigth SW=$((RW - 2 * BW - 2 * GAP)) # screen utilizable width SH=$((RH - 2 * BW - 2 * GAP)) # screen utilizable height usage() { cat<