#!/bin/sh # check if there is variable file in /tmp for source. if it's not there, copy it if [ -f /tmp/wms_var ]; then . /tmp/wms_var else cp $HOME/.config/wms/wms_var /tmp/wms_var . /tmp/wms_var fi FLAG=$1 # input RID=$(lsw -r) # root window id FW=$(pfw) # focused window WMSVAR="/tmp/wms_var" # variable temporary file usage() { cat<